diff options
author | Louis Williams <louis.williams@mongodb.com> | 2020-06-04 14:57:25 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-04 19:22:44 +0000 |
commit | 00b9d54bfc7f8fc442b55ca5a55625bddd59c8da (patch) | |
tree | bce5be868767172499fba71e66fa93e4c89e5090 /src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h | |
parent | 879d50a73179d0dd94fead476468af3ee4511b8f (diff) | |
download | mongo-00b9d54bfc7f8fc442b55ca5a55625bddd59c8da.tar.gz |
SERVER-48565 All readers of WT 'all_durable' should go through KVEngine getAllDurableTimestamp
This ensures that no operations observe the all_durable timestamp moving
backward due to ghost timestamps
Diffstat (limited to 'src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h')
-rw-r--r-- | src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h b/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h index 011876efd3e..10f6c80f343 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.h @@ -98,16 +98,6 @@ public: std::uint64_t getOplogReadTimestamp() const; void setOplogReadTimestamp(Timestamp ts); - /** - * Returns the all_durable timestamp. All transactions with timestamps earlier than the - * all_durable timestamp are committed. - * - * The all_durable timestamp is the in-memory no holes point. That does not mean that there are - * no holes behind it on disk. The all_durable timestamp also might not correspond with any - * oplog entry, but instead have a timestamp value between that of two oplog entries. - */ - uint64_t fetchAllDurableValue(WT_CONNECTION* conn); - private: /** * Runs the oplog visibility updates when signaled by triggerOplogVisibilityUpdate() until |