compact-not-crash-safe

Status: IN

Log-structured-hash-table compaction is non-atomic: the sequence of write-new, update-index, delete-old, rename-active has no transaction boundary, and a crash mid-compaction can leave orphaned segments or a misnamed active file.

Source: entries/2026/05/28/log-structured-hash-table-bitcask-compact.md

JSON