Monitor connect error is now logged
Monitor connect error is now logged
This commit is contained in:
@ -248,13 +248,13 @@ monitorDatabase(MXS_MONITOR *mon, MXS_MONITOR_SERVERS *database)
|
|||||||
|
|
||||||
database->server->node_id = -1;
|
database->server->node_id = -1;
|
||||||
|
|
||||||
|
server_transfer_status(database->server, &temp_server);
|
||||||
|
|
||||||
if (mon_status_changed(database) && mon_print_fail_status(database))
|
if (mon_status_changed(database) && mon_print_fail_status(database))
|
||||||
{
|
{
|
||||||
mon_log_connect_error(database, rval);
|
mon_log_connect_error(database, rval);
|
||||||
}
|
}
|
||||||
|
|
||||||
server_transfer_status(database->server, &temp_server);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user