diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2018-07-10 16:01:21 -0400 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2018-07-13 19:01:45 -0400 |
commit | 93accf1620db95d4aa7edbd5bbc017264b28e0f2 (patch) | |
tree | fab09fb1f5618338bc0c6a9232d11936e972ed56 /src/mongo/db/repl/collection_bulk_loader_impl.cpp | |
parent | 77ab40c05f28c6c0afbc84bb72375a9867f79ecb (diff) | |
download | mongo-93accf1620db95d4aa7edbd5bbc017264b28e0f2.tar.gz |
SERVER-35626 remove old MMAP 'enforceQuota' code
Diffstat (limited to 'src/mongo/db/repl/collection_bulk_loader_impl.cpp')
-rw-r--r-- | src/mongo/db/repl/collection_bulk_loader_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/collection_bulk_loader_impl.cpp b/src/mongo/db/repl/collection_bulk_loader_impl.cpp index b0ccc6dfcc9..276aaba8c11 100644 --- a/src/mongo/db/repl/collection_bulk_loader_impl.cpp +++ b/src/mongo/db/repl/collection_bulk_loader_impl.cpp @@ -126,7 +126,7 @@ Status CollectionBulkLoaderImpl::insertDocuments(const std::vector<BSONObj>::con // This flavor of insertDocument will not update any pre-existing indexes, // only the indexers passed in. const auto status = _autoColl->getCollection()->insertDocument( - _opCtx.get(), *iter, indexers, false); + _opCtx.get(), *iter, indexers); if (!status.isOK()) { return status; } @@ -134,7 +134,7 @@ Status CollectionBulkLoaderImpl::insertDocuments(const std::vector<BSONObj>::con // For capped collections, we use regular insertDocument, which will update // pre-existing indexes. const auto status = _autoColl->getCollection()->insertDocument( - _opCtx.get(), InsertStatement(*iter), nullptr, false); + _opCtx.get(), InsertStatement(*iter), nullptr); if (!status.isOK()) { return status; } |