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

vtbackup: Stop slave before trying to change master address. #5153

Merged
merged 1 commit into from
Sep 3, 2019

Conversation

enisoc
Copy link
Member

@enisoc enisoc commented Sep 3, 2019

Otherwise, we get errors like this when we try to restart replication:

This operation cannot be performed with running replication threads; run STOP SLAVE FOR CHANNEL '' first (errno 3081) (sqlstate HY000) during query: CHANGE MASTER TO

Signed-off-by: Anthony Yeh enisoc@planetscale.com

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
@enisoc enisoc requested a review from dkhenry September 3, 2019 17:46
@enisoc enisoc requested a review from sougou as a code owner September 3, 2019 17:46
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.

LGTM

@enisoc enisoc merged commit 45fb488 into vitessio:master Sep 3, 2019
@enisoc enisoc deleted the vtbackup-change-master branch September 3, 2019 21:57
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