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

Complete the Reshard before deleting the shard #420

Merged
merged 1 commit into from
May 8, 2023

Conversation

GuptaManan100
Copy link
Collaborator

Description

We should complete the reshard process before deleting the shard. If we don't then the workflow remains to be seen in the vtctlclient Workflow customer listall command and Completing it after deleting the shards fails with following error -

Reshard Error: rpc error: code = Unknown desc = node doesn't exist: /vitess/example/global/keyspaces/customer/shards/-/Shard
E0508 17:32:26.613887   52392 main.go:105] remote error: rpc error: code = Unknown desc = node doesn't exist: /vitess/example/global/keyspaces/customer/shards/-/Shard

This PR fixes the test to complete the workflow first.

Signed-off-by: Manan Gupta <manan@planetscale.com>
Copy link
Contributor

@rohit-nayak-ps rohit-nayak-ps left a comment

Choose a reason for hiding this comment

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

lgtm

@rohit-nayak-ps rohit-nayak-ps merged commit b9caf10 into main May 8, 2023
@rohit-nayak-ps rohit-nayak-ps deleted the reshard-complete branch May 8, 2023 15:01
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.

2 participants