{"id":"delete-before-rename-ordering","text":"Both Bitcask implementations delete old segment files (`os.remove`) before renaming the compacted replacement, creating a crash window where neither old nor properly-named new data is on disk","truth_value":"IN","source":"entries/2026/05/28/topic-bitcask-crash-recovery.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"delete-before-rename-ordering","truth_value":"IN","reason":"premise"}]}}