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

Function storageCacheKey

fdbclient/SystemData.cpp:371–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369const KeyRef storageCachePrefix = storageCacheKeys.begin;
370
371const Key storageCacheKey(const KeyRef& k) {
372 return k.withPrefix(storageCachePrefix);
373}
374
375const Value storageCacheValue(const std::vector<uint16_t>& serverIndices) {
376 BinaryWriter wr((IncludeVersion(ProtocolVersion::withStorageCacheValue())));

Calls 1

withPrefixMethod · 0.45

Tested by

no test coverage detected