directory-scan-recovery-unsafe-during-compaction

Status: IN

`_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.

Source: entries/2026/05/29/topic-manifest-and-crash-recovery.md

JSON