{"id":"wal-truncation-vs-corruption-distinction","text":"`_read_record` returns `None` for short reads (truncation) but raises `ValueError` for CRC mismatch (corruption), giving callers two distinct failure modes to handle differently during recovery","truth_value":"IN","source":"entries/2026/05/29/topic-partial-write-detection.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"wal-truncation-vs-corruption-distinction","truth_value":"IN","reason":"premise"}]}}