MCPcopy
hub / github.com/etcd-io/etcd / Commit

Method Commit

client/v3/txn.go:51–51  ·  view source on GitHub ↗

Commit tries to commit the transaction.

()

Source from the content-addressed store, hash-verified

49
50 // Commit tries to commit the transaction.
51 Commit() (*TxnResponse, error)
52}
53
54type txn struct {

Callers 15

mixedTxnFuncFunction · 0.65
txnPutFuncFunction · 0.65
ExampleAuthFunction · 0.65
ExampleKV_txnFunction · 0.65
serverTxnMethod · 0.65
DoMethod · 0.65
rescindMethod · 0.65
tryModifyOpMethod · 0.65
acquireMethod · 0.65
deleteRangeRPCMethod · 0.65
revokeMethod · 0.65
CommitMethod · 0.65

Implementers 5

txnclient/v3/txn.go
txnLeasingclient/v3/leasing/txn.go
txnOrderingclient/v3/ordering/kv.go
txnPrefixclient/v3/namespace/kv.go
wrappedTxntests/robustness/client/client.go

Calls

no outgoing calls

Tested by 15

ExampleAuthFunction · 0.52
ExampleKV_txnFunction · 0.52
ExampleKeyMissingFunction · 0.52
ExampleKeyExistsFunction · 0.52
TestReadWithPrevKvInTXNFunction · 0.52
TestPutWithLeaseInTXNFunction · 0.52
TestSTMSerializeFunction · 0.52
TestV3CorruptAlarmFunction · 0.52
TestTxnErrorFunction · 0.52
TestTxnWriteFailFunction · 0.52