Memory cards
A write-ahead log makes the write durable before the page
confidence: highupdated: 2026-11-25status: activestoragewaldurability
Claim#
The log record is appended and fsynced before the data page changes. Recovery replays the log.
Test#
Kill the process between log and page. Restart. Check the replay.
Proof#
The committed record survives the crash.
Failure modes#
A log without fsync is not durable. A checkpoint that outruns the log loses data.