Closed chris-cmsoft closed 2 years ago
When ensuring the master replica ratio, and there are too many masters, we try to fail over the first master we find.
If that master has slots assigned to it, the failover fails and we end up in a reconciliation loop forever.
We should try to order the masters by slot, so that we can select a master without slot for the failover.
When ensuring the master replica ratio, and there are too many masters, we try to fail over the first master we find.
If that master has slots assigned to it, the failover fails and we end up in a reconciliation loop forever.
We should try to order the masters by slot, so that we can select a master without slot for the failover.