apache / kvrocks-controller

Apache Kvrocks Controller is a cluster management tool for Apache Kvrocks.
https://kvrocks.apache.org/
Apache License 2.0
84 stars 42 forks source link

failover in safe mode lead one shard have two master #109

Open bbqccx opened 1 year ago

bbqccx commented 1 year ago

We have two clusters, each cluster consists of 2 servers, and each server has 8 nodes。 Then we kill one server from each cluster,we find one cluster can lead one node failover, cluster 1 :msg":"safe mode, loop ratio 0.40, allnodes: 16, failnodes: 7 cluster 2:msg":"safe mode, loop ratio 0.40, allnodes: 16, failnodes: 8

and in cluster 1,when we startup broken server‘s node , we find one shard have two master,and two master have different version。

bbqccx commented 1 year ago

cluster 1 have one node success failover: caller":"failover/cluster.go:197","msg":"Finish the fail over task","task":{