summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2018-11-06 16:00:51 -0500
committerXiangyu Yao <xiangyu.yao@mongodb.com>2018-11-08 17:38:56 -0500
commitb0d400815c3159b4cb30b6818138fc55036f8ed4 (patch)
tree10e0efe6f1ee586c496929e5120b6388294f419a /src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h
parent09f0e3262c5bc5255135338d982acdc5723d5e15 (diff)
downloadmongo-b0d400815c3159b4cb30b6818138fc55036f8ed4.tar.gz
SERVER-37975 Remove '_oplogMaxAtStartup' in WiredTigerOplogManager
Diffstat (limited to 'src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h')
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h b/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h
index 2e35cce5353..a52f1138a36 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h
@@ -99,13 +99,9 @@ private:
mutable stdx::condition_variable
_opsBecameVisibleCV; // Signaled when a journal flush is complete.
- bool _isRunning = false; // Guarded by the oplogVisibilityStateMutex.
- bool _shuttingDown = false; // Guarded by oplogVisibilityStateMutex.
-
- // This is the RecordId of the newest oplog document in the oplog on startup. It is used as a
- // floor in waitForAllEarlierOplogWritesToBeVisible().
- RecordId _oplogMaxAtStartup = RecordId(0); // Guarded by oplogVisibilityStateMutex.
- bool _opsWaitingForJournal = false; // Guarded by oplogVisibilityStateMutex.
+ bool _isRunning = false; // Guarded by oplogVisibilityStateMutex.
+ bool _shuttingDown = false; // Guarded by oplogVisibilityStateMutex.
+ bool _opsWaitingForJournal = false; // Guarded by oplogVisibilityStateMutex.
// When greater than 0, indicates that there are operations waiting for oplog visibility, and
// journal flushing should not be delayed.