-
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
Multi-metrics throttler: post v21 deprecations and changes #16915
Open
shlomi-noach
wants to merge
16
commits into
vitessio:main
Choose a base branch
from
planetscale:throttler-multi-metrics-v22-cleanup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+215
−831
Open
Changes from 13 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c031e00
remove MultiMetricsEnabled, now assumed to be true in v22
shlomi-noach 7c72938
remove use of MultiMetricsEnabled (now assumed to be 'true' at all ti…
shlomi-noach c47d5ac
adapt and fix tests
shlomi-noach 0bf2cef
load average self metric is empty (zero) on non-linux, rather than error
shlomi-noach e118807
Remove expired/unthrottled rules from topo rather than set them to 0 …
shlomi-noach d5c4672
Remove --check-as-check-self, --check-as-check-shard flags and all as…
shlomi-noach d02f70e
Remove StatusCode from throttler responses and throttler recent apps
shlomi-noach ef5ccc5
Removing HTTP StatusCode now that we have a formal ResponseCode
shlomi-noach de33905
resolved conflict
shlomi-noach db82262
more debug info
shlomi-noach 0b48790
translate from ResponseCode
shlomi-noach fa028e6
resolved conflict
shlomi-noach dfb834e
Merge branch 'main' into throttler-multi-metrics-v22-cleanup
shlomi-noach ee3a3b9
proto: reserve field names
shlomi-noach 700e35a
Merge branch 'main' into throttler-multi-metrics-v22-cleanup
shlomi-noach 3db21e4
empty commit to kick CI
shlomi-noach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't want to have a
require.NoError(t, checkErr)
here before the defer, getting rid of the conditional check? Same below.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not in this case, because this is a wait-for function, and I'm OK ignoring the error as long as the function eventually succeeds within the given timeout. So I don't care that there could be multiple errors, and I don't want to report the test as failed.