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

Function getLogKeyVersion

fdbclient/BackupAgentBase.actor.cpp:242–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242Version getLogKeyVersion(Key key) {
243 return bigEndian64(*(int64_t*)(key.begin() + backupLogPrefixBytes + sizeof(UID) + sizeof(uint8_t)));
244}
245
246// Given a key from one of the ranges returned by get_log_ranges,
247// returns(version, part) where version is the database version number of

Callers 4

dumpDataMethod · 0.85
Future<Void> _executeFunction · 0.85
decodeBKMutationLogKeyFunction · 0.85

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected