-
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
restore: do not change tablet type to RESTORE if not actually performing a restore #6679
Conversation
…ing a restore Signed-off-by: deepthi <deepthi@planetscale.com>
badcf0c
to
2fb3acf
Compare
Re: "Also would it make sense for Restore() to call ShouldRestore()?" from #6641 (comment) I looked at the code paths and decided that the chunk of code at the beginning of |
…tore if mysql doesn't come up Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
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.
LGTM
…ing a restore (vitessio#6679) * restore: do not change tablet type to RESTORE if not actually performing a restore Signed-off-by: deepthi <deepthi@planetscale.com> * restore: cleanup usage of ErrExistingDB, improve comments, do not restore if mysql doesn't come up Signed-off-by: deepthi <deepthi@planetscale.com> * restore: remove ErrExistingDB which is no longer needed Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi deepthi@planetscale.com