{"id":"lsm-wal-truncate-destroys-immediately","text":"The LSM tree's `WAL.truncate()` opens the file with `\"wb\"` mode which zeroes all content instantly, with no intermediate durable state to recover from if a crash occurs before the file is reopened for appending","truth_value":"IN","source":"entries/2026/05/29/topic-crash-safety-of-truncate.md","source_url":"","source_hash":"","justifications":[],"dependents":["lsm-wal-strictly-weaker-than-standalone-wal"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"lsm-wal-truncate-destroys-immediately","truth_value":"IN","reason":"premise"}]}}