-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
115472: admission: use compaction token lower bound when score is low r=aadityasondhi a=sumeerbhola When the overload score is such that the rate shaping is attempting to give out tokens greater than the compaction bandwidth out of L0, we can have an interaction with Pebble compaction picking which deprioritizes compactions out of L0. This can cause tokens to drop to very low values, including as low as 0 tokens. This is bad for regular traffic, which is typically user facing. This problem was introduced when we started shaping below 20 sub-levels -- previously by the time L0 reached 20 sub-levels there were enough compactions happening out of L0. By using a compaction token lower bound derived from the overall compaction bandwidth observed in the LSM, we ensure that there are sufficient admission tokens, even when the overload score is low. Fixes #115373 Epic: none Release note: None 115516: backup: use ingestion writer for backup data ssts r=dt a=dt Release note: none. Epic: none. Co-authored-by: sumeerbhola <sumeer@cockroachlabs.com> Co-authored-by: David Taylor <tinystatemachine@gmail.com>
- Loading branch information
Showing
5 changed files
with
293 additions
and
68 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
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
Oops, something went wrong.