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

Add command line option to check for errant transaction #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LaurentKol
Copy link

This errant transactions check is only performed if --check_for_errant_transactions is present on masterha_master_switch command line, default behavior is unchanged.

If errant transactions are found, switch-over is aborted during Phase 1 (Configuration Check Phase) and a fix is suggested using mysqlslavetrx.

This is to prevent switch-over to get stuck after the CHANGE MASTER statement with replication error 1236.

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