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

Script to manage failover-failback #12

Open
Tusamarco opened this issue Nov 17, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@Tusamarco
Copy link
Owner

commented Nov 17, 2017

From @altmanmarcelo
It will be useful to have the script identify when a Node comes back and is then able to take back is Writer role (if it has higher priority, in group 8000 or PXC_CLUSTER_VIEW).
Case:
Node1 - Weight 1000
Node2 - Weight 100
Node3 - Weight 10

Node 1 crash -> traffic to Node2
Node1 recover -> NEW traffic Node2 | Old traffic (existing connections) terminate on Node2

Marcelo can you please confirm this is what you were asking in the chat?

@altmannmarcelo

This comment has been minimized.

Copy link

commented Nov 17, 2017

@Tusamarco yes, that is the idea of failover back. Once node1 is back and with the Synced state, if it has a higher priority over the current writer, failover back should occur.

@Tusamarco

This comment has been minimized.

Copy link
Owner Author

commented Jan 25, 2018

@altmannmarcelo check #14 is that relevant for you too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.