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

Function encodeFailedServersKey

fdbclient/SystemData.cpp:896–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

894 return AddressExclusion::parse(key.removePrefix(failedServersPrefix));
895}
896std::string encodeFailedServersKey(AddressExclusion const& addr) {
897 // FIXME: make sure what's persisted here is not affected by innocent changes elsewhere
898 return failedServersPrefix.toString() + addr.toString();
899}
900
901const KeyRangeRef failedLocalityKeys(LiteralStringRef("\xff/conf/failed_locality/"),
902 LiteralStringRef("\xff/conf/failed_locality0"));

Callers 4

excludeServersFunction · 0.85
isExcludedServerMethod · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected