Closed kim closed 1 month ago
benchmarks please
@kazimuth It is quite possible that this skews some benchmarks, because appending to the log is just appending to a channel. Maybe draining that channel and flushing its contents to disk needs to be included in the measurement?
Description of Changes
This patch attempts to integrate the new commitlog with the minimum changes.
Most of the diff comes from deletions of the legacy log and the need to adjust tests due to the requirement for a tokio runtime when a durable database is used in tests.
The "meat" of the patch are the
RelationalDB
constructors,RelationalDB::commit_tx
, and the replay logic inlocking_tx_datastore
.While
DataKey
is gone, there is still some redundant data being passed around, which will be addressed in the follow-up patch.API and ABI breaking changes
Not compatible with logs written using the previous implementation.
Expected complexity level and risk
5