bitpoke / mysql-operator

Asynchronous MySQL Replication on Kubernetes using Percona Server and Openark's Orchestrator.
https://www.bitpoke.io/docs/mysql-operator/getting-started/
Apache License 2.0
993 stars 275 forks source link

If you reduce the size of the cluster and the node is the master, what will happen? #919

Open leeworker opened 2 months ago

leeworker commented 2 months ago

I was wondering what actions would be triggered if the cluster master node was shrinking if it was a large numbered node after multiple failures. I don't seem to find any special operations? Will you remove the current master and let it fail over

drivebyer commented 2 months ago

If the node that shrinks in size is the master role, the cluster will fail over to a new master.