btree-wal-truncate-before-data-sync

Status: IN

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

Source: entries/2026/05/28/b-tree-storage-engine-fix-plan.md

JSON