Skip to content

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

Merged
enisoc merged 1 commit intovitessio:masterfrom
planetscale:vtbackup-change-master
Sep 3, 2019
Merged

vtbackup: Stop slave before trying to change master address.#5153
enisoc merged 1 commit intovitessio:masterfrom
planetscale:vtbackup-change-master

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
Collaborator

@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