Mariadb 10.1 / Galera - bootstrap node always doesn't lose quorum
0
votes
1
answer
243
views
I'm using mariadb10.1.37, wsrep_provider_version 25.3.24(r3825). On my dev cluster (2node+1arbitrator) I found the following behaviour:
**node1:** bootstrap new cluster (using galera_new_cluster, with pc.weight=3)
**node2:** join cluster (pc.weight=3)
**arbitrator:** join cluster (pc.weight =1)
So, I have a three node cluster, with total pc.weight of 7. Then I do:
**arbitrator:** shutdown garbd
**node2:** shutdown mysqld
At this point, I expect node1, being only node out of three still alive, should have lost wsrep_cluster_status=Primary status, and no longer accept writes.
Instead, I find wsrep_cluster_status = Primary, wsrep_cluster_size=1, and yet node1 will still accept writes.
Is there something I am missing?
Thanks in advance!
Asked by Mark S
(132 rep)
Nov 7, 2018, 03:24 PM
Last activity: Nov 8, 2018, 03:56 PM
Last activity: Nov 8, 2018, 03:56 PM