Added dcb_call_foreach to galera monitor and fixed MM monitor missing a parameter.

This commit is contained in:
Markus Makela 2015-02-24 15:38:33 +02:00
parent 7a50e4be3d
commit 70f0f239a5
2 changed files with 2 additions and 1 deletions

View File

@ -546,6 +546,7 @@ int log_no_members = 1;
if (SERVER_IS_DOWN(ptr->server))
{
/** Increase this server'e error count */
dcb_call_foreach(ptr->server,DCB_REASON_NOT_RESPONDING);
ptr->mon_err_count += 1;
}
else

View File

@ -635,7 +635,7 @@ size_t nrounds = 0;
if (mon_status_changed(ptr))
{
dcb_call_foreach(DCB_REASON_NOT_RESPONDING);
dcb_call_foreach(ptr->server,DCB_REASON_NOT_RESPONDING);
}
if (mon_status_changed(ptr) ||