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

Function serverHasKey

fdbclient/SystemData.cpp:459–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459bool serverHasKey(ValueRef storedValue) {
460 UID teamId;
461 bool assigned, emptyRange;
462 decodeServerKeysValue(storedValue, assigned, emptyRange, teamId);
463 return assigned;
464}
465
466const Value serverKeysValue(const UID& id) {
467 if (!id.isValid()) {

Callers 1

updateServerShardsFunction · 0.85

Calls 1

decodeServerKeysValueFunction · 0.85

Tested by

no test coverage detected