0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-22276 do not wait for journaling for range deleter, temporarily

This commit is contained in:
Eric Milkie 2016-02-08 16:31:25 -05:00
parent bec55037f6
commit 3cc599e2c4

View File

@ -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,