A master which is down for longer than failcount is considered an invalid master
If auto_failover is disabled and an alternative master exists, the monitor will swap the master. This may break replication, but the situation requires that the dba has set up a cluster with multiple masters.
This commit is contained in:
@ -179,6 +179,8 @@ private:
|
||||
* outside of a cycle. */
|
||||
bool m_warn_failover_precond; /**< Print failover preconditions error message? */
|
||||
bool m_warn_cannot_rejoin; /**< Print warning if auto_rejoin fails because of invalid gtid:s? */
|
||||
bool m_warn_current_master_invalid; /**< Print warning if current master is not valid? */
|
||||
bool m_warn_have_better_master; /**< Print warning if the current master is not the best one? */
|
||||
|
||||
// Base methods
|
||||
MariaDBMonitor(MXS_MONITOR* monitor_base);
|
||||
|
Reference in New Issue
Block a user