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

Function logRangesEncodeKey

fdbclient/SystemData.cpp:1097–1099  ·  view source on GitHub ↗

Returns the encoded key comprised of begin key and log uid

Source from the content-addressed store, hash-verified

1095
1096// Returns the encoded key comprised of begin key and log uid
1097Key logRangesEncodeKey(KeyRef keyBegin, UID logUid) {
1098 return keyBegin.withPrefix(uidPrefixKey(logRangesRange.begin, logUid));
1099}
1100
1101// Returns the start key and optionally the logRange Uid
1102KeyRef logRangesDecodeKey(KeyRef key, UID* logUid) {

Callers 2

startMutationLogsMethod · 0.85

Calls 2

uidPrefixKeyFunction · 0.85
withPrefixMethod · 0.45

Tested by

no test coverage detected