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

Method release

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

release moves all page ids for a transaction id (or older) to the freelist.

(txId common.Txid)

Source from the content-addressed store, hash-verified

73
74 // release moves all page ids for a transaction id (or older) to the freelist.
75 release(txId common.Txid)
76
77 // releaseRange moves pending pages allocated within an extent [begin,end] to the free list.
78 releaseRange(begin, end common.Txid)

Callers 2

TestFreelist_releaseFunction · 0.65

Calls

no outgoing calls

Tested by 2

TestFreelist_releaseFunction · 0.52