summaryrefslogtreecommitdiff
path: root/src/mongo/bson/timestamp.h
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2017-08-01 10:58:04 -0400
committerJudah Schvimer <judah@mongodb.com>2017-08-01 10:58:04 -0400
commit3394652848101167fdc16e30e98f99ea9c57c3f4 (patch)
treee4619e1f0098a3cf0b260d63471987dfaf3cf416 /src/mongo/bson/timestamp.h
parent49f9a6b840d3a56fc1947290d9f5834e6ea370a7 (diff)
downloadmongo-3394652848101167fdc16e30e98f99ea9c57c3f4.tar.gz
SERVER-30185 Call setInitialDataTimestamp at the beginning and end of initial sync
Diffstat (limited to 'src/mongo/bson/timestamp.h')
-rw-r--r--src/mongo/bson/timestamp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/bson/timestamp.h b/src/mongo/bson/timestamp.h
index 39c0eb572a8..2c1f96e3caa 100644
--- a/src/mongo/bson/timestamp.h
+++ b/src/mongo/bson/timestamp.h
@@ -41,6 +41,9 @@ class BSONObj;
*/
class Timestamp {
public:
+ // Timestamp to signal that the storage engine should take unstable checkpoints.
+ static const Timestamp kAllowUnstableCheckpointsSentinal;
+
// Maximum Timestamp value.
static Timestamp max();