[release-16.0] MoveTables: add flag to specify that routing rules should not be created when a movetables workflow is created#13858
Merged
rohit-nayak-ps merged 3 commits intovitessio:release-16.0from Aug 28, 2023
Conversation
…are not created when a MoveTables workflow is created Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Contributor
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
|
mattlord
requested changes
Aug 26, 2023
Member
mattlord
left a comment
There was a problem hiding this comment.
We need to add this flag to vtctldclient as well.
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
mattlord
approved these changes
Aug 28, 2023
dbussink
approved these changes
Aug 28, 2023
rohit-nayak-ps
added a commit
to planetscale/vitess
that referenced
this pull request
Aug 30, 2023
…ted when a movetables workflow is created (vitessio#13858) Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Closed
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
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 adds a new flag
--no-routing-rulesto MoveTables in v16. Usually when a MoveTables workflow is created we create routing rules pointing the participating tables to the source keyspace and then reroute them to the target keyspace after traffic is switched.However for some use cases, like specified in #13851, we do not want these routing rules to be created. The expected flow for workflows using this routing rule is:
cancelthe workflow with--keep-dataRelated Issue(s)
Docs: vitessio/website#1568
Checklist