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

graceful master takeover: reduced some overhead; revert to writable on error #948

Merged
merged 2 commits into from Aug 6, 2019

Conversation

shlomi-noach
Copy link
Collaborator

Upon graceful-master-takeover:

  • Reduced some toil for identifying replication coordinates on designated master; instead of stop slave; start slave until ... commands (which take time to execute) we just check the coordinates on the server.

  • If promotion is aborted (e.g. failed datacenter constraints) then the original master is restored as writable.

@shlomi-noach shlomi-noach changed the title Faster safer graceful takeover graceful master takeover: reduced some overhead; revert to writable on error Aug 4, 2019
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor August 4, 2019 13:24 Inactive
@shlomi-noach shlomi-noach merged commit 5a47d5a into master Aug 6, 2019
@shlomi-noach shlomi-noach deleted the faster-safer-graceful-takeover branch August 6, 2019 05:56
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.

None yet

1 participant