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

Function encodeFailedLocalityKey

fdbclient/SystemData.cpp:909–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907 return key.removePrefix(failedLocalityPrefix).toString();
908}
909std::string encodeFailedLocalityKey(std::string const& locality) {
910 return failedLocalityPrefix.toString() + locality;
911}
912
913// const KeyRangeRef globalConfigKeys( LiteralStringRef("\xff/globalConfig/"), LiteralStringRef("\xff/globalConfig0") );
914// const KeyRef globalConfigPrefix = globalConfigKeys.begin;

Callers 4

excludeLocalitiesFunction · 0.85
isExcludedLocalityMethod · 0.85
isMachineExcludedMethod · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected