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

Function decodeBackupStartedValue

fdbclient/SystemData.cpp:995–1001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993}
994
995std::vector<std::pair<UID, Version>> decodeBackupStartedValue(const ValueRef& value) {
996 std::vector<std::pair<UID, Version>> ids;
997 BinaryReader reader(value, IncludeVersion());
998 if (value.size() > 0)
999 reader >> ids;
1000 return ids;
1001}
1002
1003const KeyRef coordinatorsKey = LiteralStringRef("\xff/coordinators");
1004const KeyRef logsKey = LiteralStringRef("\xff/logs");

Calls 2

IncludeVersionFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected