MCPcopy
hub / github.com/etcd-io/bbolt / Rollback

Method Rollback

internal/freelist/freelist.go:56–56  ·  view source on GitHub ↗

Rollback removes the pages from a given pending tx.

(txId common.Txid)

Source from the content-addressed store, hash-verified

54
55 // Rollback removes the pages from a given pending tx.
56 Rollback(txId common.Txid)
57
58 // Copyall copies a list of all free ids and all pending ids in one sorted list.
59 // f.count returns the minimum length required for dst.

Callers 15

TestCursor_Iterate_LeafFunction · 0.65
TestCursor_RestartFunction · 0.65
TestCursor_QuickCheckFunction · 0.65
TestMethodPageFunction · 0.65
TestBucket_Put_ClosedFunction · 0.65
TestBucket_Delete_ClosedFunction · 0.65
nonPhysicalRollbackMethod · 0.65
rollbackMethod · 0.65

Calls

no outgoing calls

Tested by 15

TestCursor_Iterate_LeafFunction · 0.52
TestCursor_RestartFunction · 0.52
TestCursor_QuickCheckFunction · 0.52
TestMethodPageFunction · 0.52
TestBucket_Put_ClosedFunction · 0.52
TestBucket_Delete_ClosedFunction · 0.52