Status: IN
`truncate()` rewrites WAL files in place without atomic rename, so a crash during truncation can leave the log in an inconsistent state.
Source: entries/2026/05/28/write-ahead-log-wal.md
JSON