summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h
diff options
context:
space:
mode:
authorJamie Heppenstall <jamie.heppenstall@mongodb.com>2020-04-13 19:16:31 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-17 05:28:39 +0000
commitc5523e7d237b66f35c1ad4cd8a7d28e8dea9feb7 (patch)
treed94ff315a41dabce5336acc7ae7830cd79f8aa26 /src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h
parent3715b6221884b30b15f183f813675e27f30123eb (diff)
downloadmongo-c5523e7d237b66f35c1ad4cd8a7d28e8dea9feb7.tar.gz
SERVER-46699 Report the oplog visibility timestamp in FTDC
(cherry picked from commit 454e1823bbbe7cc25d6f34856913d8161d729e4b)
Diffstat (limited to 'src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h')
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h2
1 files changed, 1 insertions, 1 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..5c6bb356b17 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h
@@ -111,6 +111,6 @@ private:
// journal flushing should not be delayed.
std::int64_t _opsWaitingForVisibility = 0; // Guarded by oplogVisibilityStateMutex.
- AtomicUInt64 _oplogReadTimestamp;
+ AtomicUInt64 _oplogReadTimestamp{0};
};
} // namespace mongo