Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: always schedule adjacent segment compaction
We previously fell back on adjacent segment compaction only if there was no new data to compact. In some situations, we've seen the rate of incoming data outpace the compaction interval, causing segments to pile up without ever being merged. This change tweaks the logic to always run adjacent segment compaction after running sliding window compaction.
- Loading branch information