{"id":"wal-record-length-excludes-own-prefix","text":"The `record_length` field counts 21 + len(key) + len(value) bytes — everything after the 4-byte length prefix itself — so total on-disk size per record is `record_length + 4`.","truth_value":"IN","source":"entries/2026/05/28/write-ahead-log-wal-_encode_record.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"wal-record-length-excludes-own-prefix","truth_value":"IN","reason":"premise"}]}}