lsm-wal-replays-on-reopen

Status: IN

Constructing a new `LSMTree` on an existing directory replays the WAL to recover unflushed memtable state; this is validated by the crash recovery test which skips `close()` and reopens

Source: entries/2026/05/28/log-structured-merge-tree-test_lsm.md

Example

entries = self._wal.replay()
for key, value in entries:
    self._memtable[key] = value

JSON