{"id":"btree-wal-truncate-before-data-sync","text":"`WAL.commit()` truncates the WAL before the data file is fsynced, creating a crash window where both the log and the data can be lost.","truth_value":"IN","source":"entries/2026/05/28/b-tree-storage-engine-fix-plan.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"btree-wal-truncate-before-data-sync","truth_value":"IN","reason":"premise"}]}}