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

Support xtrabackup safe-slave-backup option. #8

Merged
merged 1 commit into from
Dec 14, 2012

Conversation

jburnham
Copy link
Contributor

Uses the flock tool to ensure that a process is actively doing a backup and when doing so, that the PRM will not restart the slave thread.

The PRM will continue to remove the readable attribute and make it not eligible for promotion.

Once the backup is complete, the PRM will start the slave thread as normal, if the backup tool has not already done so, and the readable attribute will again be true and master score return to normal.

I'm open to comments/suggestions on how things might be improved but this appears to work for me.

@jburnham
Copy link
Contributor Author

This is for issue jayjanssen/Percona-Pacemaker-Resource-Agents#3

y-trudeau pushed a commit that referenced this pull request Dec 14, 2012
Support xtrabackup safe-slave-backup option.
@y-trudeau y-trudeau merged commit c7f28a4 into y-trudeau:master Dec 14, 2012
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