-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: This PR adds a resolution for some edge cases we were seeing wi…
…th our compactor. Please see: influxdata/plutonium#4201 (comment) for more details. This PR changes the algorithm for compaction to allow for single generations that have a group size of >= 2 GB to be scheduled for compaction. It also is adjusted to only halt optimized compaction once there are no tombstones, and a single generation. If the group size is less then 2 GB it will check to ensure there is only 1 file in the shard to halt compaction. Closes influxdata/plutonium#4201 Closes influxdata/EAR#5672 Closes influxdata/EAR#5531
- Loading branch information
Showing
2 changed files
with
206 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters