Epic — v0.5 production-hardening, phase P1: Durability Correctness & Crash Safety
Goal: a crash at any point — mid-checkpoint, mid-flush, with a slow core — never loses an acknowledged write, and recovery replays exactly the committed suffix.
Critical (filed)
High
Medium
Test coverage
Note: verify #149 (document_strict data loss on restart) is not a shared root cause with the above during planning.
Tracked in .planning/v1-production-readiness/AUDIT.md.
Epic — v0.5 production-hardening, phase P1: Durability Correctness & Crash Safety
Goal: a crash at any point — mid-checkpoint, mid-flush, with a slow core — never loses an acknowledged write, and recovery replays exactly the committed suffix.
Critical (filed)
High
bootstrap/wal_init.rs:25hardcodesuse_direct_io=false.nodedb-wal/src/reader.rs:83-101,writer.rs:388-429.Medium
payload.len()) → discards records after a mid-segment recovery.nodedb-wal/src/reader.rs:118-129.recovery.rs:63-88.writer.rs:388-423.Test coverage
nodedb-walfailpoints — add crash injection between checkpoint-marker and truncate, between DWB and WAL fsync, mid-truncate_segments.Note: verify #149 (document_strict data loss on restart) is not a shared root cause with the above during planning.
Tracked in
.planning/v1-production-readiness/AUDIT.md.