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

Function serverListKeyFor

fdbclient/SystemData.cpp:750–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748const KeyRef serverListPrefix = serverListKeys.begin;
749
750const Key serverListKeyFor(UID serverID) {
751 BinaryWriter wr(Unversioned());
752 wr.serializeBytes(serverListKeys.begin);
753 wr << serverID;
754 return wr.toValue();
755}
756
757const Value serverListValue(StorageServerInterface const& server) {
758 auto protocolVersion = currentProtocolVersion();

Calls 3

UnversionedFunction · 0.85
serializeBytesMethod · 0.45
toValueMethod · 0.45

Tested by

no test coverage detected