-
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
MoveTables: remove option to specify source keyspace alias for multi-tenant migrations #15712
MoveTables: remove option to specify source keyspace alias for multi-tenant migrations #15712
Conversation
Signed-off-by: Rohit Nayak <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
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
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15712 +/- ##
==========================================
- Coverage 68.40% 68.39% -0.02%
==========================================
Files 1556 1556
Lines 195121 195347 +226
==========================================
+ Hits 133479 133610 +131
- Misses 61642 61737 +95 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Rohit Nayak <[email protected]>
proto/vtctldata.proto
Outdated
@@ -208,7 +208,8 @@ message Shard { | |||
|
|||
message WorkflowOptions { | |||
string tenant_id = 1; | |||
string source_keyspace_alias = 2; | |||
// Previously used for source_keyspace_alias which was removed before being formally released. | |||
reserved 2; |
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.
Do we need to mark this reserved or can we just delete it and move strip_sharded_auto_increment
to 2
since that PR is also recent and we haven't got a release or a production cluster with this proto in use.
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.
I think we can change the proto since neither of those fields were in a release.
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.
agree with mattlord. we can rearrange the fields. Please go ahead and make that change, and then merge.
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.
I can't answer the question about reserved
but the rest looks good to me!
proto/vtctldata.proto
Outdated
@@ -208,7 +208,8 @@ message Shard { | |||
|
|||
message WorkflowOptions { | |||
string tenant_id = 1; | |||
string source_keyspace_alias = 2; | |||
// Previously used for source_keyspace_alias which was removed before being formally released. | |||
reserved 2; |
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.
I think we can change the proto since neither of those fields were in a release.
I've applied the |
…pace alias and reuse the slot since we haven't released either of the features used by the current set of options and these are all within the v20 dev cycle. Signed-off-by: Rohit Nayak <[email protected]>
Made the change to the protobuf spec. Merging now. |
Description
In #15503 we had added a functionality to add an alias to the source keyspace. However on further investigation this is not really needed and hence it is being removed.
The feature was declared experimental and introduced in v20, so there are no backward compatibility issues.
Related Issue(s)
#15403
#15503
Checklist
Deployment Notes