Fix verify_master_failure
The master failure verification would not work if the slaves did not have a state change since MaxScale had started. This can be fixed by treating the startup of MaxScale as an event of sorts.
This commit is contained in:
parent
177f7357e0
commit
0750e93eeb
@ -47,7 +47,7 @@ MariaDBServer::MariaDBServer(MXS_MONITORED_SERVER* monitored_server, int config_
|
||||
, m_n_slaves_running(0)
|
||||
, m_n_slave_heartbeats(0)
|
||||
, m_heartbeat_period(0)
|
||||
, m_latest_event(0)
|
||||
, m_latest_event(time(NULL))
|
||||
, m_gtid_domain_id(GTID_DOMAIN_UNKNOWN)
|
||||
, m_topology_changed(true)
|
||||
, m_print_update_errormsg(true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user