summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/locker.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2016-07-16 15:22:58 -0400
committerBenety Goh <benety@mongodb.com>2016-07-16 18:50:10 -0400
commit3b371e48fab6cd5b022415f5352080e6e268b9e0 (patch)
tree0e773bc171e757321fb21a6634d3a527910a1027 /src/mongo/db/concurrency/locker.h
parent612990716a788ce934e95676ca4b8af5952ba563 (diff)
downloadmongo-3b371e48fab6cd5b022415f5352080e6e268b9e0.tar.gz
Revert "SERVER-24242 Lock::ParallelBatchWriterMode sets isBatchWriter while in scope"
This reverts commit 0673f9531be7cbaa8e5477ee28431a28191fe7ed.
Diffstat (limited to 'src/mongo/db/concurrency/locker.h')
-rw-r--r--src/mongo/db/concurrency/locker.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/concurrency/locker.h b/src/mongo/db/concurrency/locker.h
index 2bd075ff2a3..a858a5b0d79 100644
--- a/src/mongo/db/concurrency/locker.h
+++ b/src/mongo/db/concurrency/locker.h
@@ -302,8 +302,7 @@ public:
*/
virtual bool hasLockPending() const = 0;
- // Used for the replication parallel oplog application threads to prevent any other threads from
- // using the system while it is in an inconsistent state.
+ // Used for the replication parallel log op application threads
virtual void setIsBatchWriter(bool newValue) = 0;
virtual bool isBatchWriter() const = 0;