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

Function decodeBlobGranuleLockValue

fdbclient/SystemData.cpp:1461–1469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1459}
1460
1461std::tuple<int64_t, int64_t, UID> decodeBlobGranuleLockValue(const ValueRef& value) {
1462 int64_t epoch, seqno;
1463 UID changeFeedId;
1464 BinaryReader reader(value, IncludeVersion());
1465 reader >> epoch;
1466 reader >> seqno;
1467 reader >> changeFeedId;
1468 return std::make_tuple(epoch, seqno, changeFeedId);
1469}
1470
1471const Key blobGranuleSplitKeyFor(UID const& parentGranuleID, UID const& granuleID) {
1472 BinaryWriter wr(AssumeVersion(ProtocolVersion::withBlobGranule()));

Calls 1

IncludeVersionFunction · 0.85

Tested by

no test coverage detected