MXS-1775 Flush pending status to servers using common code

This commit is contained in:
Johan Wikman
2018-05-25 09:09:21 +03:00
parent 15b1c270a3
commit 0833db8a48
7 changed files with 40 additions and 27 deletions

View File

@ -419,10 +419,7 @@ void MMMonitor::tick()
/* Set the STALE bit for this server in server struct */
monitor_set_pending_status(ptr, SERVER_STALE_STATUS);
}
ptr->server->status = ptr->pending_status;
}
ptr = ptr->next;
}
}