Everywhere I go to present MySQL InnoDB Cluster, during the demo
of creating a cluster, many people doesn’t understand why when
I’ve 2 members, my cluster is not yet tolerant to any failure.
Indeed when you create a MySQL InnoDB Cluster, as soon as you
have added your second instance, you can see in the status:
"status": "OK_NO_TOLERANCE",
"statusText": "Cluster is NOT tolerant to any failures.",
Quorum
Why is that ? It’s because, to be part of primary partition (the
partition that holds the service, the one having a Primary-Master
in Single Primary Mode, the default mode), your partition must
reach the majority of nodes (quorum). In MySQL InnoDB Cluster
(and many other cluster solutions), to achieve quorum, the
amount of members in a partition must be > (bigger)
than 50%.
So when we have 2 nodes, if there is a network issue between the …
[Read more]