summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_consistency_markers.h
diff options
context:
space:
mode:
authorDaniel Gottlieb <daniel.gottlieb@mongodb.com>2018-02-16 16:16:42 -0500
committerDaniel Gottlieb <daniel.gottlieb@mongodb.com>2018-02-16 16:16:45 -0500
commit902b8552f11697308604823c19d6dbce661fc3d6 (patch)
tree80c4eb507da457019915863e1d6b9cf35d11ea11 /src/mongo/db/repl/replication_consistency_markers.h
parenteda72588a747cebc644628c06bcf12cc83d10609 (diff)
downloadmongo-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.h6
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