Run manual commands without stopping the monitor
The command is saved in a function object which is read by the monitor thread. This way, manual and automatic cluster modification commands are ran in the same step of a monitor cycle. This update required several modifications in related code.
This commit is contained in:
@ -49,6 +49,7 @@ MariaDBServer::MariaDBServer(MXS_MONITORED_SERVER* monitored_server, int config_
|
||||
, m_heartbeat_period(0)
|
||||
, m_latest_event(0)
|
||||
, m_gtid_domain_id(GTID_DOMAIN_UNKNOWN)
|
||||
, m_topology_changed(true)
|
||||
, m_print_update_errormsg(true)
|
||||
{
|
||||
ss_dassert(monitored_server);
|
||||
|
||||
Reference in New Issue
Block a user