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

Function blobGranuleLockValueFor

fdbclient/SystemData.cpp:1453–1459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1451}
1452
1453const Value blobGranuleLockValueFor(int64_t epoch, int64_t seqno, UID changeFeedId) {
1454 BinaryWriter wr(IncludeVersion(ProtocolVersion::withBlobGranule()));
1455 wr << epoch;
1456 wr << seqno;
1457 wr << changeFeedId;
1458 return wr.toValue();
1459}
1460
1461std::tuple<int64_t, int64_t, UID> decodeBlobGranuleLockValue(const ValueRef& value) {
1462 int64_t epoch, seqno;

Calls 2

IncludeVersionFunction · 0.85
toValueMethod · 0.45

Tested by

no test coverage detected