Skip to content

vtbackup: Stop replication after reaching goal position.#5437

Merged
enisoc merged 1 commit intovitessio:masterfrom
planetscale:vtbackup-stop-replication
Nov 15, 2019
Merged

vtbackup: Stop replication after reaching goal position.#5437
enisoc merged 1 commit intovitessio:masterfrom
planetscale:vtbackup-stop-replication

Conversation

@enisoc
Copy link
Copy Markdown
Member

@enisoc enisoc commented Nov 15, 2019

In xtrabackup mode, we would normally leave replication running when taking a backup on a tablet. However, since this is not a serving tablet, we stop replication in advance to help make xtrabackup's job
easier. In particular, we've observed that this seems to make it less likely that xtrabackup gets stuck during Executing FLUSH TABLES WITH READ LOCK.

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

In xtrabackup mode, we would normally leave replication running when
taking a backup on a tablet. However, since this is not a serving
tablet, we stop replication in advance to help make xtrabackup's job
easier.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
@enisoc enisoc requested a review from deepthi November 15, 2019 09:18
@enisoc enisoc requested a review from sougou as a code owner November 15, 2019 09:18
Copy link
Copy Markdown
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 0b3de7c into vitessio:master Nov 15, 2019
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