-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throttler multi-metrics: an incremental PR #16012
Closed
shlomi-noach
wants to merge
1
commit into
vitessio:main
from
planetscale:throttler-multi-metrics-incremental
Closed
Throttler multi-metrics: an incremental PR #16012
shlomi-noach
wants to merge
1
commit into
vitessio:main
from
planetscale:throttler-multi-metrics-incremental
Conversation
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
Signed-off-by: Shlomi Noach <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
vitess-bot
bot
added
NeedsBackportReason
If backport labels have been applied to a PR, a justification is required
NeedsDescriptionUpdate
The description is not clear or comprehensive enough, and needs work
NeedsIssue
A linked issue is missing for this Pull Request
NeedsWebsiteDocsUpdate
What it says
labels
May 26, 2024
shlomi-noach
added
Type: Bug
Type: Enhancement
Logical improvement (somewhere between a bug and feature)
Component: Throttler
and removed
NeedsDescriptionUpdate
The description is not clear or comprehensive enough, and needs work
NeedsIssue
A linked issue is missing for this Pull Request
NeedsBackportReason
If backport labels have been applied to a PR, a justification is required
labels
May 26, 2024
14 tasks
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #16012 +/- ##
==========================================
- Coverage 68.27% 68.25% -0.02%
==========================================
Files 1562 1562
Lines 197319 197319
==========================================
- Hits 134714 134689 -25
- Misses 62605 62630 +25 ☔ View full report in Codecov by Sentry. |
5 tasks
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component: Throttler
NeedsWebsiteDocsUpdate
What it says
Type: Bug
Type: Enhancement
Logical improvement (somewhere between a bug and feature)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replaced by #16039
Notes
This PR is the incremental version of #15988, and will be the base of multiple coming up PR merges. DO NOT MERGE
Description
This PR adds multi-metrics support to the tablet throttler. It is pretty large as will be explained shortly, and is submitted as Draft. I will break it down into hopefully smaller and more manageable PRs, something I could not do in the process of writing this code. To explain a bit, adding multi-metrics support adds a new dimension of complexity to the already multi-dimensioned throttler. I chose do remove legacy or unused dimensions from the existing codebase so as to simplify the result. While this PR is not a redesign (the main elements remain the same), it shaves and refactors a lot of code.
See full changes and documentation in #15988 . We are breaking down #15988 into smaller changes which will make it easier to review. This changes will merge onto this branch, with the intention that at the end of the process this PR/branch will be (mostly) identical to #15988 , at which time it will be merged as a whole.
There will only be a handful of PRs that we will merge directly to
main
. These will be some cleanup-related changes, bugfixes, CI fixes, etc. But the multi-metric redesign will merge into this branch and then as a whole intomain
. There is a lot of backwards-compatibility and testing involved, and I feel the complete PR is correct to merge as a whole.Related Issue(s)
#15624
Checklist
Deployment Notes