diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2015-04-29 20:28:39 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2015-04-29 20:28:39 -0400 |
commit | 66a48710fcdfa9783d44f1b467a7bceb6df7dcd2 (patch) | |
tree | 3c3e13cc68fa4fb493208a9ad1186cb057ca87e3 /src/mongo/db/range_deleter.cpp | |
parent | 5c4824de27af185aa584aee61d4c4cf5e9b79ff5 (diff) | |
download | mongo-66a48710fcdfa9783d44f1b467a7bceb6df7dcd2.tar.gz |
Revert "SERVER-5218 Batch oplog writes always wait for journal."
This reverts commit 27a8cb772d9e876fc7549a2c6ce3c1a62a4a394f.
Diffstat (limited to 'src/mongo/db/range_deleter.cpp')
-rw-r--r-- | src/mongo/db/range_deleter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/range_deleter.cpp b/src/mongo/db/range_deleter.cpp index bde2e3ad36c..e754fb9fb02 100644 --- a/src/mongo/db/range_deleter.cpp +++ b/src/mongo/db/range_deleter.cpp @@ -269,7 +269,7 @@ namespace { const int kWTimeoutMillis = 60 * 60 * 1000; bool _waitForMajority(OperationContext* txn, std::string* errMsg) { - const WriteConcernOptions writeConcern(WriteConcernOptions::kMajority, + const WriteConcernOptions writeConcern("majority", WriteConcernOptions::NONE, kWTimeoutMillis); |