MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / txManager

Struct txManager

tx_manager.go:13–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type txManager struct {
14 lifecycle core.ComponentLifecycle
15
16 db *DB
17 statusManager *StatusManager
18
19 activeTxs sync.Map
20 activeTxCount atomic.Int64
21
22 maxActiveTxs int64
23 configMu sync.RWMutex
24}
25
26func newTxManager(db *DB, sm *StatusManager) *txManager {
27 return &txManager{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected