{"id":"wal-recover-then-truncate","text":"WAL recovery fsyncs the data file via `page_manager.sync()` before truncating the WAL, so a crash during recovery itself leaves the WAL intact for re-replay","truth_value":"IN","source":"entries/2026/05/29/b-tree-storage-engine-btree-recover.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"wal-recover-then-truncate","truth_value":"IN","reason":"premise"}]}}