summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_consistency_markers.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/replication_consistency_markers.idl')
-rw-r--r--src/mongo/db/repl/replication_consistency_markers.idl11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mongo/db/repl/replication_consistency_markers.idl b/src/mongo/db/repl/replication_consistency_markers.idl
index d7a7ba6be00..4925845178d 100644
--- a/src/mongo/db/repl/replication_consistency_markers.idl
+++ b/src/mongo/db/repl/replication_consistency_markers.idl
@@ -68,3 +68,14 @@ structs:
_id:
type: string
description: "Always set to 'oplogTruncateAfterPoint' to easily retrieve it."
+ CheckpointTimestampDocument:
+ description: A document that stores the latest timestamp the database can recover to.
+ fields:
+ checkpointTimestamp:
+ type: timestamp
+ description: "The checkpoint timestamp. Should be set by a storage engine
+ before a checkpoint is taken."
+ _id:
+ type: string
+ description: "Always set to 'checkpointTimestamp' to easily retrieve it."
+