You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cluster.LogModulePrintf(cluster.Conf.Verbose, config.ConstLogModGeneral, LvlErr, "Long running trx on master at least %d, can not switchover ", cluster.Conf.SwitchWaitTrx)
85
-
cluster.StateMachine.RemoveFailoverState()
86
91
returnfalse
87
92
}
88
93
89
94
} else {
90
95
ifcluster.Conf.MultiMasterGrouprep {
91
96
// group replication auto elect a new master in case of failure do nothing
cluster.LogModulePrintf(cluster.Conf.Verbose, config.ConstLogModGeneral, LvlErr, "No candidates found")
111
-
cluster.StateMachine.RemoveFailoverState()
112
115
returnfalse
113
116
}
114
117
115
118
cluster.LogModulePrintf(cluster.Conf.Verbose, config.ConstLogModGeneral, LvlInfo, "Slave %s has been elected as a new master", cluster.slaves[key].URL)
cluster.LogModulePrintf(cluster.Conf.Verbose, config.ConstLogModGeneral, LvlErr, "Long running trx on master at least %d, can not switchover ", cluster.Conf.SwitchWaitTrx)
cluster.LogModulePrintf(cluster.Conf.Verbose, config.ConstLogModGeneral, LvlErr, "No candidates found")
1265
-
cluster.StateMachine.RemoveFailoverState()
1266
1271
returnfalse
1267
1272
}
1268
1273
cluster.LogModulePrintf(cluster.Conf.Verbose, config.ConstLogModGeneral, LvlInfo, "Server %s has been elected as a new master", cluster.slaves[key].URL)
cluster.LogModulePrintf(cluster.Conf.Verbose, config.ConstLogModGeneral, LvlInfo, "Server %s elected as new leader %s", cluster.slaves[key].URL, result)
0 commit comments