MCPcopy Create free account
hub / github.com/apple/foundationdb / decodeHealthyZoneValue

Function decodeHealthyZoneValue

fdbclient/SystemData.cpp:1237–1244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1235 return wr.toValue();
1236}
1237std::pair<Key, Version> decodeHealthyZoneValue(ValueRef const& value) {
1238 Key zoneId;
1239 Version version;
1240 BinaryReader reader(value, IncludeVersion());
1241 reader >> zoneId;
1242 reader >> version;
1243 return std::make_pair(zoneId, version);
1244}
1245
1246const KeyRangeRef testOnlyTxnStateStorePrefixRange(LiteralStringRef("\xff/TESTONLYtxnStateStore/"),
1247 LiteralStringRef("\xff/TESTONLYtxnStateStore0"));

Calls 1

IncludeVersionFunction · 0.85