diff options
author | Spencer T Brody <spencer@mongodb.com> | 2018-09-07 13:24:55 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2018-09-10 16:54:26 -0400 |
commit | 976b19732685d132e636c34a5b2fe7462def0818 (patch) | |
tree | 9027b5976101da89a026dd9c75ed08bde161857f /src/mongo/db/repl/replication_coordinator_external_state.h | |
parent | b226e55c4ca7b8c1275d51f6a1300cfed2ec7d24 (diff) | |
download | mongo-976b19732685d132e636c34a5b2fe7462def0818.tar.gz |
SERVER-37048 Hold global intent lock whenever accessing the oplog collection pointer
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_external_state.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_external_state.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_external_state.h b/src/mongo/db/repl/replication_coordinator_external_state.h index c60353128d7..05b9a8e85d2 100644 --- a/src/mongo/db/repl/replication_coordinator_external_state.h +++ b/src/mongo/db/repl/replication_coordinator_external_state.h @@ -115,13 +115,6 @@ public: virtual Status initializeReplSetStorage(OperationContext* opCtx, const BSONObj& config) = 0; /** - * Waits for all committed writes to be visible in the oplog. Committed writes will be hidden - * if there are uncommitted writes ahead of them, and some operations require that all committed - * writes are visible before proceeding. Throws if the oplog does not exist. - */ - virtual void waitForAllEarlierOplogWritesToBeVisible(OperationContext* opCtx) = 0; - - /** * Called when a node on way to becoming a primary is ready to leave drain mode. It is called * outside of the global X lock and the replication coordinator mutex. * |