MXS-839: Detect multi-master topologies with mysqlmon

The mysqlmon now supports proper detection of multi-master topologies by
building a directed graph out of the monitored server. If cycles are found from
this graph, they are assigned a master group ID. All servers with a positive
master group ID will receive the Master status unless they have `@@read_only`
enabled.

This new functionality can be enabled with the 'multimaster' boolean
parameter.
This commit is contained in:
Markus Makela
2016-09-05 20:01:26 +03:00
parent d745781bd0
commit 46c8a6f66b
4 changed files with 261 additions and 3 deletions

View File

@ -184,6 +184,7 @@ static char *monitor_params[] =
"available_when_donor",
"disable_master_role_setting",
"use_priority",
"multimaster",
NULL
};