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

Function encodeExcludedServersKey

fdbclient/SystemData.cpp:867–870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865 return AddressExclusion::parse(key.removePrefix(excludedServersPrefix));
866}
867std::string encodeExcludedServersKey(AddressExclusion const& addr) {
868 // FIXME: make sure what's persisted here is not affected by innocent changes elsewhere
869 return excludedServersPrefix.toString() + addr.toString();
870}
871
872const KeyRangeRef excludedLocalityKeys(LiteralStringRef("\xff/conf/excluded_locality/"),
873 LiteralStringRef("\xff/conf/excluded_locality0"));

Callers 4

excludeServersFunction · 0.85
isExcludedServerMethod · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected