Skip to content
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

Vtctl Workflow cmd: don't expect all shards to have workflow streams #6576

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

rohit-nayak-ps
Copy link
Contributor

Signed-off-by: Rohit Nayak rohit@planetscale.com

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we document the original issue in this PR?
Looks good otherwise.

@sougou sougou merged commit 75a829c into vitessio:master Aug 17, 2020
@rohit-nayak-ps
Copy link
Contributor Author

This PR fixes a bug in VExec. Currently it expects the same workflow to be present in all shards in a keyspace, which is of course not the case in resharding until the source shards have been dropped. During resharding, only the target shards will have the forward workflow and the source shards will have the reverse workflow (once writes have been switched to the target).

Signed-off-by: Rohit Nayak rohit@planetscale.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants