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

Function blobGranuleLockKeyFor

fdbclient/SystemData.cpp:1446–1451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1444}
1445
1446const Key blobGranuleLockKeyFor(KeyRangeRef const& keyRange) {
1447 BinaryWriter wr(AssumeVersion(ProtocolVersion::withBlobGranule()));
1448 wr.serializeBytes(blobGranuleLockKeys.begin);
1449 wr << keyRange;
1450 return wr.toValue();
1451}
1452
1453const Value blobGranuleLockValueFor(int64_t epoch, int64_t seqno, UID changeFeedId) {
1454 BinaryWriter wr(IncludeVersion(ProtocolVersion::withBlobGranule()));

Calls 3

AssumeVersionFunction · 0.85
serializeBytesMethod · 0.45
toValueMethod · 0.45

Tested by

no test coverage detected