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

Method setStatusClosed

tx.go:638–641  ·  view source on GitHub ↗

setStatusClosed will change the tx status to txStatusClosed

()

Source from the content-addressed store, hash-verified

636
637// setStatusClosed will change the tx status to txStatusClosed
638func (tx *Tx) setStatusClosed() {
639 status := txStatusClosed
640 tx.status.Store(status)
641}
642
643// setStatusRunning will change the tx status to txStatusRunning
644func (tx *Tx) setStatusRunning() {

Callers 6

CommitWithMethod · 0.95
CommitMethod · 0.95
RollbackMethod · 0.95
forceAbortActiveTxsMethod · 0.80
CancelMethod · 0.80
FlushMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected