-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compaction: Allow snooze_period to be a float
We are experiencing an issue similar to #1579, partly because we have dozens of thousands of databases. On our servers: - `snooze_period = 0` leads to a significant CPU load, - `snooze_period = 1` is too long for compaction to finish within 20 hours (after 20 hours, compaction is stopped to allow other CPU-intensive processes to run, and when compaction restarts, it does not pick up where it left 4 hours earlier -- by the way proposal at #1775 would be really great to fix that!) This commits allows to write `snooze_period = 0.3` in configuration.
- Loading branch information
1 parent
edcb372
commit d593543
Showing
2 changed files
with
5 additions
and
5 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