{"id":"partitioned-log-compaction-preserves-keyless","text":"Log compaction retains only the last occurrence per key but always preserves messages with `key=None`.","truth_value":"IN","source":"entries/2026/05/29/partitioned-log-partitioned_log.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{"example":"# keyless messages (key=None) always kept during compaction\nif msg.key is None:\n    compacted.append(msg)"},"explanation":{"steps":[{"node":"partitioned-log-compaction-preserves-keyless","truth_value":"IN","reason":"premise"}]}}