{"id":"wal-truncate-not-crash-safe","text":"`truncate()` rewrites WAL files in place without atomic rename, so a crash during truncation can leave the log in an inconsistent state.","truth_value":"IN","source":"entries/2026/05/28/write-ahead-log-wal.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"wal-truncate-not-crash-safe","truth_value":"IN","reason":"premise"}]}}