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

Struct shared

internal/freelist/shared.go:18–25  ·  internal/freelist/shared.go::shared

Source from the content-addressed store, hash-verified

16}
17
18type shared struct {
19 Interface
20
21 readonlyTXIDs []common.Txid // all readonly transaction IDs.
22 allocs map[common.Pgid]common.Txid // mapping of Txid that allocated a pgid.
23 cache map[common.Pgid]struct{} // fast lookup of all free and pending page ids.
24 pending map[common.Txid]*txPending // mapping of soon-to-be free page ids by tx.
25}
26
27func newShared() *shared {
28 return &shared{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected