{"id":"wal-flush-truncate-replay-safety","text":"If a crash occurs between SSTable flush and WAL truncation, replay re-inserts already-persisted entries into the memtable, which is safe because memtable values shadow SSTable values during reads (last-writer-wins)","truth_value":"IN","source":"entries/2026/05/29/log-structured-merge-tree-lsm-replay.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"wal-flush-truncate-replay-safety","truth_value":"IN","reason":"premise"}]}}