{"id":"compact-not-crash-safe","text":"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.","truth_value":"IN","source":"entries/2026/05/28/log-structured-hash-table-bitcask-compact.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"compact-not-crash-safe","truth_value":"IN","reason":"premise"}]}}