Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

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

Merged
shlomi-noach merged 2 commits intomasterfrom
faster-safer-graceful-takeover
Aug 6, 2019
Merged

graceful master takeover: reduced some overhead; revert to writable on error#948
shlomi-noach merged 2 commits intomasterfrom
faster-safer-graceful-takeover

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant