Merge commit 'a78f0fbe2537542dc7f3f0dd8b19b93ac8d9d7f8' into develop

This commit is contained in:
Markus Mäkelä
2019-03-28 13:53:40 +02:00
22 changed files with 535 additions and 194 deletions

View File

@ -104,10 +104,9 @@ void CsMonitor::update_server_status(MonitorServer* srv)
{
status |= SERVER_RUNNING;
if (get_cs_version(srv) >= 10107)
if (get_cs_version(srv) >= 10200)
{
// 1.1.7 should support the mcsSystemPrimary function
// TODO: Update when the actual release is out
// 1.2 supports the mcsSystemPrimary function
status |= do_query(srv, role_query) == "1" ? SERVER_MASTER : SERVER_SLAVE;
}
else