From 278e7de6f507beedae51e3b822d371e1ab171ec7 Mon Sep 17 00:00:00 2001 From: Jon Fu Date: Mon, 4 Jan 2021 16:59:08 -0500 Subject: [PATCH] added more documentation --- fdbclient/SystemData.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fdbclient/SystemData.h b/fdbclient/SystemData.h index b9eeaa74fa..156fd7dc4a 100644 --- a/fdbclient/SystemData.h +++ b/fdbclient/SystemData.h @@ -446,8 +446,16 @@ std::pair decodeHealthyZoneValue( ValueRef const& ); extern const KeyRangeRef testOnlyTxnStateStorePrefixRange; // Snapshot + Incremental Restore + +// "\xff/writeRecovery" = "[[writeRecoveryKeyTrue]]" +// Flag used for the snapshot-restore pipeline in order to avoid +// anomalous behaviour with multiple recoveries. extern const KeyRef writeRecoveryKey; extern const ValueRef writeRecoveryKeyTrue; + +// "\xff/snapshotEndVersion" = "[[Version]]" +// Written by master server during recovery if recovering from a snapshot. +// Allows incremental restore to read and set starting version for consistency. extern const KeyRef snapshotEndVersionKey; #pragma clang diagnostic pop