forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 3
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
slack-15.0
: pre-backport txthrottler
crash fixes
#480
Merged
timvaillancourt
merged 10 commits into
slack-15.0
from
txthrottler-fix-pre-bps-slack-15.0
Aug 21, 2024
Merged
slack-15.0
: pre-backport txthrottler
crash fixes
#480
timvaillancourt
merged 10 commits into
slack-15.0
from
txthrottler-fix-pre-bps-slack-15.0
Aug 21, 2024
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
…lices` pkg, add stats (vitessio#16248) Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
tanjinx
approved these changes
Aug 21, 2024
makinje16
pushed a commit
that referenced
this pull request
Aug 28, 2024
* `txthrottler`: move `ThrottlerInterface` to `go/vt/throttler`, use `slices` pkg, add stats (vitessio#16248) Signed-off-by: Tim Vaillancourt <[email protected]> * revert to `reflect` Signed-off-by: Tim Vaillancourt <[email protected]> * Support passing filters to `discovery.NewHealthCheck(...)` Signed-off-by: Tim Vaillancourt <[email protected]> * Update go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Tim Vaillancourt <[email protected]> * Address some PR suggestions Signed-off-by: Tim Vaillancourt <[email protected]> * PR ctx suggestion Signed-off-by: Tim Vaillancourt <[email protected]> * fix test Signed-off-by: Tim Vaillancourt <[email protected]> * simplify updateHealthCheckCells signature Signed-off-by: Tim Vaillancourt <[email protected]> * Fix race in `replicationLagModule` of `go/vt/throttle` Signed-off-by: Tim Vaillancourt <[email protected]> --------- Signed-off-by: Tim Vaillancourt <[email protected]> Co-authored-by: Matt Lord <[email protected]>
makinje16
pushed a commit
that referenced
this pull request
Aug 29, 2024
* `txthrottler`: move `ThrottlerInterface` to `go/vt/throttler`, use `slices` pkg, add stats (vitessio#16248) Signed-off-by: Tim Vaillancourt <[email protected]> * revert to `reflect` Signed-off-by: Tim Vaillancourt <[email protected]> * Support passing filters to `discovery.NewHealthCheck(...)` Signed-off-by: Tim Vaillancourt <[email protected]> * Update go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Tim Vaillancourt <[email protected]> * Address some PR suggestions Signed-off-by: Tim Vaillancourt <[email protected]> * PR ctx suggestion Signed-off-by: Tim Vaillancourt <[email protected]> * fix test Signed-off-by: Tim Vaillancourt <[email protected]> * simplify updateHealthCheckCells signature Signed-off-by: Tim Vaillancourt <[email protected]> * Fix race in `replicationLagModule` of `go/vt/throttle` Signed-off-by: Tim Vaillancourt <[email protected]> --------- Signed-off-by: Tim Vaillancourt <[email protected]> Co-authored-by: Matt Lord <[email protected]>
makinje16
added a commit
that referenced
this pull request
Sep 24, 2024
…tessio#13582) (#497) * VReplication: Make Source Tablet Selection More Robust (vitessio#13582) * update sprintf args. * `slack-15.0`: pre-backport `txthrottler` crash fixes (#480) * `txthrottler`: move `ThrottlerInterface` to `go/vt/throttler`, use `slices` pkg, add stats (vitessio#16248) Signed-off-by: Tim Vaillancourt <[email protected]> * revert to `reflect` Signed-off-by: Tim Vaillancourt <[email protected]> * Support passing filters to `discovery.NewHealthCheck(...)` Signed-off-by: Tim Vaillancourt <[email protected]> * Update go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Tim Vaillancourt <[email protected]> * Address some PR suggestions Signed-off-by: Tim Vaillancourt <[email protected]> * PR ctx suggestion Signed-off-by: Tim Vaillancourt <[email protected]> * fix test Signed-off-by: Tim Vaillancourt <[email protected]> * simplify updateHealthCheckCells signature Signed-off-by: Tim Vaillancourt <[email protected]> * Fix race in `replicationLagModule` of `go/vt/throttle` Signed-off-by: Tim Vaillancourt <[email protected]> --------- Signed-off-by: Tim Vaillancourt <[email protected]> Co-authored-by: Matt Lord <[email protected]> * ignore unused wrangler weighted semaphore --------- Signed-off-by: Tim Vaillancourt <[email protected]> Co-authored-by: Tim Vaillancourt <[email protected]> Co-authored-by: Matt Lord <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR pre-backports a set of PRs to address crashes in
txthrottler
on v15+I'll return with a 2nd backport when those PRs have the additional testing requested. Note: this cleanup should happen before this goes to production
Backports:
txthrottler
: moveThrottlerInterface
togo/vt/throttler
, useslices
pkg, add stats vitessio/vitess#16248 (to make 2 and 3 easier)discovery.NewHealthCheck(...)
vitessio/vitess#16170replicationLagModule
ofgo/vt/throttle
vitessio/vitess#16078Checklist
Deployment Notes