summaryrefslogtreecommitdiff
path: root/src/mongo/db/range_deleter.cpp
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2016-02-08 16:31:25 -0500
committerEric Milkie <milkie@10gen.com>2016-02-08 16:35:36 -0500
commit3cc599e2c4e253981034b5a63d457c939cf27e09 (patch)
tree868ad18943be672428367b7447f460443fb29380 /src/mongo/db/range_deleter.cpp
parentbec55037f6ea126076e903c8fe2a7bd5021c0f6c (diff)
downloadmongo-3cc599e2c4e253981034b5a63d457c939cf27e09.tar.gz
SERVER-22276 do not wait for journaling for range deleter, temporarily
Diffstat (limited to 'src/mongo/db/range_deleter.cpp')
-rw-r--r--src/mongo/db/range_deleter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/range_deleter.cpp b/src/mongo/db/range_deleter.cpp
index 69528e16b73..08d5a50ff64 100644
--- a/src/mongo/db/range_deleter.cpp
+++ b/src/mongo/db/range_deleter.cpp
@@ -259,7 +259,7 @@ const int kWTimeoutMillis = 60 * 60 * 1000;
bool _waitForMajority(OperationContext* txn, std::string* errMsg) {
const WriteConcernOptions writeConcern(
- WriteConcernOptions::kMajority, WriteConcernOptions::SyncMode::UNSET, kWTimeoutMillis);
+ WriteConcernOptions::kMajority, WriteConcernOptions::SyncMode::NONE, kWTimeoutMillis);
repl::ReplicationCoordinator::StatusAndDuration replStatus =
repl::getGlobalReplicationCoordinator()->awaitReplicationOfLastOpForClient(txn,