added more comments
This commit is contained in:
parent
53d23d95d8
commit
a0d33c5d03
|
@ -255,18 +255,25 @@ std::vector<std::pair<UID, Version>> decodeBackupStartedValue(const ValueRef& va
|
|||
// 1 = Send a signal to pause/already paused.
|
||||
extern const KeyRef backupPausedKey;
|
||||
|
||||
// "\xff/coordinators = [[ClusterConnectionString]]"
|
||||
// "\xff/coordinators" = "[[ClusterConnectionString]]"
|
||||
// Set to the encoded structure of the cluster's current set of coordinators.
|
||||
// Changed when performing quorumChange.
|
||||
// See "CoordinationInterface.h" struct ClusterConnectionString for more details
|
||||
extern const KeyRef coordinatorsKey;
|
||||
|
||||
// "\xff/logs" = "[[LogsValue]]"
|
||||
// Used during master recovery in order to communicate
|
||||
// and store info about the logs system.
|
||||
extern const KeyRef logsKey;
|
||||
|
||||
// "\xff/minRequiredCommitVersion" = "[[Version]]"
|
||||
// Used during backup/recovery to restrict version requirements
|
||||
extern const KeyRef minRequiredCommitVersionKey;
|
||||
|
||||
const Value logsValue( const vector<std::pair<UID, NetworkAddress>>& logs, const vector<std::pair<UID, NetworkAddress>>& oldLogs );
|
||||
std::pair<vector<std::pair<UID, NetworkAddress>>,vector<std::pair<UID, NetworkAddress>>> decodeLogsValue( const ValueRef& value );
|
||||
|
||||
// The "global keys" are send to each storage server any time they are changed
|
||||
// The "global keys" are sent to each storage server any time they are changed
|
||||
extern const KeyRef globalKeysPrefix;
|
||||
extern const KeyRef lastEpochEndKey;
|
||||
extern const KeyRef lastEpochEndPrivateKey;
|
||||
|
@ -294,6 +301,7 @@ extern const KeyRef tagThrottleLimitKey;
|
|||
extern const KeyRef tagThrottleCountKey;
|
||||
|
||||
// Log Range constant variables
|
||||
// Used in the backup pipeline to track mutations
|
||||
// \xff/logRanges/[16-byte UID][begin key] := serialize( make_pair([end key], [destination key prefix]), IncludeVersion() )
|
||||
extern const KeyRangeRef logRangesRange;
|
||||
|
||||
|
|
Loading…
Reference in New Issue