{"id":"compaction-triggered-by-sstable-count","text":"LSM compaction runs automatically when `len(self._sstables) >= self._compaction_threshold` (default 4), triggered at the end of `_flush` after the new SSTable is registered","truth_value":"IN","source":"entries/2026/05/29/log-structured-merge-tree-lsm-_flush.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"compaction-triggered-by-sstable-count","truth_value":"IN","reason":"premise"}]}}