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

Method commit

bindings/flow/fdb_flow.actor.cpp:472–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472Future<Void> TransactionImpl::commit() {
473 return backToFuture<Void>(fdb_transaction_commit(tr), [](Reference<CFuture> f) {
474 throw_on_error(fdb_future_get_error(f->f));
475 return Void();
476 });
477}
478
479Version TransactionImpl::getCommittedVersion() {
480 Version v;

Callers

nothing calls this directly

Calls 3

fdb_transaction_commitFunction · 0.85
throw_on_errorFunction · 0.85
VoidClass · 0.50

Tested by

no test coverage detected