diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-02-16 16:16:42 -0500 |
---|---|---|
committer | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-02-16 16:16:45 -0500 |
commit | 902b8552f11697308604823c19d6dbce661fc3d6 (patch) | |
tree | 80c4eb507da457019915863e1d6b9cf35d11ea11 /src/mongo/db/repl/replication_consistency_markers.h | |
parent | eda72588a747cebc644628c06bcf12cc83d10609 (diff) | |
download | mongo-902b8552f11697308604823c19d6dbce661fc3d6.tar.gz |
SERVER-33258: Guarantee replication tables are durable before use.
Diffstat (limited to 'src/mongo/db/repl/replication_consistency_markers.h')
-rw-r--r-- | src/mongo/db/repl/replication_consistency_markers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/repl/replication_consistency_markers.h b/src/mongo/db/repl/replication_consistency_markers.h index 2bf12adb0db..ce986c64500 100644 --- a/src/mongo/db/repl/replication_consistency_markers.h +++ b/src/mongo/db/repl/replication_consistency_markers.h @@ -203,6 +203,12 @@ public: */ virtual void writeCheckpointTimestamp(OperationContext* opCtx, const Timestamp& timestamp) = 0; virtual Timestamp getCheckpointTimestamp(OperationContext* opCtx) = 0; + + /** + * Create the set of collections required for steady-state replication to work. E.g: `minvalid` + * or `oplogTruncateAfterPoint`. + */ + virtual Status createInternalCollections(OperationContext* opCtx) = 0; }; } // namespace repl |