Skip to content

Commit 6cba64b

Browse files
committed
Could not find a slave in topology and Failover exception #696
1 parent 83a830b commit 6cba64b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cluster/cluster_chk.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,8 @@ func (cluster *Cluster) IsSameWsrepUUID() bool {
711711

712712
func (cluster *Cluster) IsNotHavingMySQLErrantTransaction() bool {
713713
if cluster.GetMaster() == nil {
714-
return false
714+
// disable check if master is crashed as the slave can get more GTID events and so slave GTID is not ubset of masetr GTID
715+
return true
715716
}
716717
if !(cluster.GetMaster().HasMySQLGTID()) {
717718
return true

0 commit comments

Comments
 (0)