{"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":{},"explanation":{"steps":[{"node":"directory-scan-recovery-unsafe-during-compaction","truth_value":"IN","reason":"premise"}]}}