forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Buffering related backports #128
Merged
arthurschreiber
merged 12 commits into
release-18.0-github
from
arthur/buffering-backports
Nov 8, 2024
Merged
Buffering related backports #128
arthurschreiber
merged 12 commits into
release-18.0-github
from
arthur/buffering-backports
Nov 8, 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
…itessio#14968) Signed-off-by: Matt Lord <[email protected]>
…fic switching (vitessio#15701) Signed-off-by: Matt Lord <[email protected]>
…itessio#15347) Signed-off-by: Tim Vaillancourt <[email protected]>
…gate startup (vitessio#16655) Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]> Signed-off-by: Arthur Schreiber <[email protected]>
Signed-off-by: Manan Gupta <[email protected]> Signed-off-by: Arthur Schreiber <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]> Signed-off-by: Arthur Schreiber <[email protected]>
arthurschreiber
force-pushed
the
arthur/buffering-backports
branch
from
November 8, 2024 01:50
4277746
to
b0e2f64
Compare
Signed-off-by: Arthur Schreiber <[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 backports various fixes around buffering that I think are important to have in our 18.x branch.
First, this backports the changes from vitessio#14968, which is a test only change but reduces the numbers of conflicts that needed to be resolved in some of the other backported changes.
The next change this backports is vitessio#15701. This fixes interaction between buffering and
MoveTables
operations. As we want to run someMoveTables
operations in the very near future, I think it's important we backport this change to not run into any issues when we perform traffic switching.Then I also included vitessio#15347. This change itself isn't really related to buffering, but reduces the conflicts for backporting and is a simple performance improvement / reduces load on etcd, so seems like a good change to have in 18.x.
The changes from vitessio#16655 fix a race condition where buffering would not kick in right after starting a
vtgate
process. We've not encountered this so far, but with more focus on safe automation, we should pull in this change as well to ensure we don't see sporadic errors whenvtgate
restarts happen at the same time as primary failovers.Finally, this pulls in the set of commits from vitessio#17013. This changeset is going to fix the buffering issues we've seen where performing multiple failovers via
PlannedReparentShard
on different shards in the same keyspace could lead to a premature buffering stop and a spike of errors.Related Issue(s)
Checklist
Deployment Notes