{"id":"no-concurrency-protection-on-base-offsets","text":"Neither `truncate` nor `compact_partition` holds a lock; concurrent calls on the same partition would race on both `_partitions` and `_base_offsets`, assuming single-threaded execution.","truth_value":"IN","source":"entries/2026/05/29/topic-log-compaction-vs-retention.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"no-concurrency-protection-on-base-offsets","truth_value":"IN","reason":"premise"}]}}