summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/collection_bulk_loader_impl.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2018-07-10 16:01:21 -0400
committerDianna Hohensee <dianna.hohensee@10gen.com>2018-07-13 19:01:45 -0400
commit93accf1620db95d4aa7edbd5bbc017264b28e0f2 (patch)
treefab09fb1f5618338bc0c6a9232d11936e972ed56 /src/mongo/db/repl/collection_bulk_loader_impl.cpp
parent77ab40c05f28c6c0afbc84bb72375a9867f79ecb (diff)
downloadmongo-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.cpp4
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;
}