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

Method getCommittedVersion

fdbclient/MultiVersionTransaction.actor.cpp:411–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411Version DLTransaction::getCommittedVersion() {
412 int64_t version;
413 throwIfError(api->transactionGetCommittedVersion(tr, &version));
414 return version;
415}
416
417ThreadFuture<int64_t> DLTransaction::getApproximateSize() {
418 if (!api->transactionGetApproximateSize) {

Callers

nothing calls this directly

Calls 3

getTransactionFunction · 0.85
throwIfErrorFunction · 0.70
getCommittedVersionMethod · 0.65

Tested by

no test coverage detected