{"id":"wal-commit-sync-before-truncate","text":"`WAL.commit` always fsyncs the data file before truncating the WAL file; reversing this order would create a crash-safety hole where committed data could be lost","truth_value":"IN","source":"entries/2026/05/28/b-tree-storage-engine-btree-commit.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"wal-commit-sync-before-truncate","truth_value":"IN","reason":"premise"}]}}