Investigate whether SycnTransaction
and BufferedTransaction
can be removed in favour of db/pebble/transaction.go
#1782
Labels
DB
Database
Most likely there will only be one DB hence the
SyncTransaction
andBufferedTransaction
abstractions may not be required. Instead, we should rely on the underlying DB implementation to provide the required functionality. Pebble already has a concept ofBatch
which is intended to batch multiple writes together before flushing to disk. TheSyncTransaction
explicitly uses amutex
to control the write and read operations, this should be ensured by the underlying db without further abstractions.The text was updated successfully, but these errors were encountered: