Future<void> commitTransaction(int txnId) async { await append(WalOp.commitTxn, '_txn', {'txnId': txnId}, txnId: txnId); _currentTxnId = 0; }