mvcc/backend/batch_tx.go
func (t *batchTx) CommitAndStop() {
	t.Lock()
	t.commit(true)
	t.Unlock()
}
func (t *batchTx) CommitAndStop() {
	t.Lock()
	t.commit(true)
	t.Unlock()
}
func ( t * batchTx ) CommitAndStop ( ) { t . Lock ( ) t . commit ( true ) t . Unlock ( ) }
// CommitAndStop commits the previous tx and does not create a new one.
CommitAndStop commits the previous tx and does not create a new one .