MXS-1775 Add MonitorInstanceSimple class
MonitorInstanceSimple is intended for simple monitors that probe servers in a straightforward fashion. More complex monitors can be derived directly from MonitorInstance.
This commit is contained in:
@ -332,13 +332,6 @@ void MariaDBMonitor::update_server(MariaDBServer& server)
|
||||
mon_srv->mon_err_count = (is_running || in_maintenance) ? 0 : mon_srv->mon_err_count + 1;
|
||||
}
|
||||
|
||||
void MariaDBMonitor::update_server_status(MXS_MONITORED_SERVER* monitored_server)
|
||||
{
|
||||
// Not used and should not be called. Is there a way to check this "statically" (without
|
||||
// template magic)?
|
||||
ss_dassert(!true);
|
||||
}
|
||||
|
||||
void MariaDBMonitor::pre_loop()
|
||||
{
|
||||
// MonitorInstance loaded from the journal the current master into its
|
||||
|
||||
Reference in New Issue
Block a user