Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
54
type
txn
struct
{
Callers
15
mixedTxnFunc
Function · 0.65
txnPutFunc
Function · 0.65
ExampleAuth
Function · 0.65
ExampleKV_txn
Function · 0.65
serverTxn
Method · 0.65
Do
Method · 0.65
rescind
Method · 0.65
tryModifyOp
Method · 0.65
acquire
Method · 0.65
deleteRangeRPC
Method · 0.65
revoke
Method · 0.65
Commit
Method · 0.65
Implementers
5
txn
client/v3/txn.go
txnLeasing
client/v3/leasing/txn.go
txnOrdering
client/v3/ordering/kv.go
txnPrefix
client/v3/namespace/kv.go
wrappedTxn
tests/robustness/client/client.go
Calls
no outgoing calls
Tested by
15
ExampleAuth
Function · 0.52
ExampleKV_txn
Function · 0.52
ExampleKeyMissing
Function · 0.52
ExampleKeyExists
Function · 0.52
TestV3AuthNestedTxnPermissionDenied
Function · 0.52
TestReadWithPrevKvInTXN
Function · 0.52
TestPutWithLeaseInTXN
Function · 0.52
TestSTMSerialize
Function · 0.52
TestV3CorruptAlarm
Function · 0.52
TestV3CorruptAlarmWithLeaseCorrupted
Function · 0.52
TestTxnError
Function · 0.52
TestTxnWriteFail
Function · 0.52