{"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":[],"metadata":{},"explanation":{"steps":[{"node":"lsm-wal-truncate-destroys-immediately","truth_value":"IN","reason":"premise"}]}}