restate icon indicating copy to clipboard operation
restate copied to clipboard

Remove OptimisticTransactionDB

Open tillrohrmann opened this issue 1 year ago • 2 comments

We are going to use a forked version of the rocksdb library to extend the bindings to expose more RocksDB functionality. Eventually, we will also expose the WriteBatchWithIndex which would allow us to read our own writes. Hence, we no longer need to use the OptimisticTransactionDB mode from RocksDB (right now, we actually don't require reading our own writes).

tillrohrmann avatar Apr 19 '24 07:04 tillrohrmann

Postponed until we have WriteBatchWithIndex since we are relying on reading our own writes when applying multiple consecutive state mutations in the EffectInterpreter::pop_from_inbox.

tillrohrmann avatar Apr 19 '24 09:04 tillrohrmann

There is an open issue for adding support for WriteBatchWithIndex to the rust-rocksdb binding https://github.com/rust-rocksdb/rust-rocksdb/issues/836.

tillrohrmann avatar Jul 29 '24 09:07 tillrohrmann