{"id":"directory-scan-recovery-unsafe-during-compaction","text":"`_load_existing_sstables` using `os.listdir` cannot distinguish pre-compaction from post-compaction file sets after a crash — if the crash occurs after creating the merged SSTable but before deleting the inputs, recovery sees duplicates; the inverse loses data.","truth_value":"IN","source":"entries/2026/05/29/topic-manifest-and-crash-recovery.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"directory-scan-recovery-unsafe-during-compaction","truth_value":"IN","reason":"premise"}]}}