-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
New master is not replicating after a failover #613
Comments
Seeing more or less the same in our tests. We're testing how we're going to handle node drains. While testing this, I've realized that, no matter what kind of persistence (hostPath, local path PVC, SDS PVC, emptyDir) we configure the cluster is always broken in Orchestrator after the drain. The MySQL pods gets recreated correctly on another node, but it seems like the cluster isn't correctly set back to a fully functional state. |
We then tried to set |
For me it looks like it's not really a problem, but rather misleading message from operator/orchestrator. Replication is still working in an async mode... And master doesn't have to replicate anything at all... After I reset new master's replication via Orchestrator everything becomes normal again. |
@ExiaSR @ynnt I am also running into the same issue. Did you ever resolve this? |
I think PR #690 can solve this problem |
I think I've fixed it, you can try version |
Info
Version: the latest
operator
andcluster
chart from this repository.Description
Our test environment consists of 3 nodes.
We are simulating a master node failure by killing the
mysqld
process indb-0
In the event of a
DeadMaster
event,orchestrator
automatically promotesdb-1
to master, but the new master node is stuck atnot replicating
error.What would be the correct recovery process?
Operator log
Dead master pod (db-0) log after restart
New master node (db-1)
The text was updated successfully, but these errors were encountered: