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

Method addWriteConflictRange

fdbclient/MultiVersionTransaction.actor.cpp:400–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400void DLTransaction::addWriteConflictRange(const KeyRangeRef& keys) {
401 throwIfError(api->transactionAddConflictRange(
402 tr, keys.begin.begin(), keys.begin.size(), keys.end.begin(), keys.end.size(), FDB_CONFLICT_RANGE_TYPE_WRITE));
403}
404
405ThreadFuture<Void> DLTransaction::commit() {
406 FdbCApi::FDBFuture* f = api->transactionCommit(tr);

Callers

nothing calls this directly

Calls 5

getTransactionFunction · 0.85
throwIfErrorFunction · 0.70
addWriteConflictRangeMethod · 0.65
beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected