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

Method setStatusCommitting

tx.go:632–635  ·  view source on GitHub ↗

setStatusCommitting will change the tx status to txStatusCommitting

()

Source from the content-addressed store, hash-verified

630
631// setStatusCommitting will change the tx status to txStatusCommitting
632func (tx *Tx) setStatusCommitting() {
633 status := txStatusCommitting
634 tx.status.Store(status)
635}
636
637// setStatusClosed will change the tx status to txStatusClosed
638func (tx *Tx) setStatusClosed() {

Callers 2

CommitWithMethod · 0.95
CommitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected