You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is still a little ugly, but all unit tests are passing. Compaction
is currently not implemented, and currently Sediment acts as an
append-only file because Roots doesn't ever checkpoint it.
This commit replaces the append-only transaction format with a
commit-log powered transaction log using Sediment. When committing
multiple trees, the transaction log thread will send the trees to the
thread pool to be committed, while it commits the transaction log
itself. Once the transaction log is fully synced, the log manager thread
waits for all other trees to finish syncing, then continues to work like
the previous implementation.
The benefit of using Sediment is that this format now supports
checkpointing the transaction log, and it also implements several other
todos in the process.
Closes#42. Closes#35. Closes#40.
TransactionLog
should expose a new error when the log format is the old format.TransactionLog::repair
should be added to rewrite transaction log to new file using new format, atomic swap to overwrite.The text was updated successfully, but these errors were encountered: