-
Notifications
You must be signed in to change notification settings - Fork 2.4k
tx throttler: healthcheck all cells if --tx-throttler-healthcheck-cells is undefined
#12477
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
Merged
shlomi-noach
merged 33 commits into
vitessio:main
from
timvaillancourt:tx-throtter-default-all-cells
Jul 31, 2023
Merged
Changes from 24 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
1fecb5d
WIP
timvaillancourt 6beae70
vttablet tx throttler: healthcheck all cells if cells unspecified
timvaillancourt c8ad379
Fix test typo
timvaillancourt 6ed1bac
Simplify test
timvaillancourt 4c04f24
remove unnecessary 'empty healthCheckCells given' error
timvaillancourt 08c1a1d
last tweak to simplify test
timvaillancourt 0dd51b8
Update go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go
timvaillancourt 25bf05b
Merge branch 'main' into tx-throtter-default-all-cells
timvaillancourt 62a9a26
Merge branch 'main' into tx-throtter-default-all-cells
timvaillancourt 71ea246
Merge branch 'main' into tx-throtter-default-all-cells
timvaillancourt ed439e4
Move .GetKnownCells() call to .Open()
timvaillancourt d5c87cc
Update test
timvaillancourt 84e0a4a
Improve err message
timvaillancourt 9887e9f
Add code comment to explain 2nd cell check
timvaillancourt 90d15b0
Add func fetchKnownCells()
timvaillancourt abc694d
Add test for fetchKnownCells
timvaillancourt 1cf084d
Restart health stream if topo cells change
timvaillancourt 29c496a
Update cell list when changed
timvaillancourt a0698dd
log.Fatalf -> Errorf
timvaillancourt 8b287b8
Improve test
timvaillancourt 0e8ae6f
use defer to stop ticker
timvaillancourt ab35c8b
PR suggestion
timvaillancourt 2f5c44d
Add cellsFromTopo bool to txThrottlerState
timvaillancourt e7fa178
pass context.Context to .fetchKnownCells(...)
timvaillancourt d88c453
merge main
timvaillancourt e25e5ef
PR suggestion
timvaillancourt 42bba79
fix defer-cancel() in loop
timvaillancourt e616a92
Past context to updateHealthCheckCells
timvaillancourt 2a879ad
PR feedback
timvaillancourt 4d8bff0
Dont update cells in config
timvaillancourt e7ac2c6
Add "the" to cli flag help + force ci to run again
timvaillancourt b70a1fa
Missing ts.config -> ts.config.healthCheckCells
timvaillancourt 616f4a6
Fix unit test failure
timvaillancourt 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.