backend: set seq flag for each bucket buffer

This commit is contained in:
mlmhl
2020-12-16 17:46:50 +08:00
committed by Piotr Tabor
parent 932d42b027
commit 79eafb9719
2 changed files with 17 additions and 4 deletions

View File

@ -254,7 +254,7 @@ func newBatchTxBuffered(backend *backend) *batchTxBuffered {
batchTx: batchTx{backend: backend},
buf: txWriteBuffer{
txBuffer: txBuffer{make(map[string]*bucketBuffer)},
seq: true,
seq: make(map[string]bool),
},
}
tx.Commit()