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:
@ -63,6 +63,7 @@ typedef struct
|
||||
int replicationHeartbeat; /**< Monitor flag for MySQL replication heartbeat */
|
||||
bool detectStaleMaster; /**< Monitor flag for MySQL replication Stale Master detection */
|
||||
bool detectStaleSlave; /**< Monitor flag for MySQL replication Stale Master detection */
|
||||
bool multimaster; /**< Detect and handle multi-master topologies */
|
||||
int disableMasterFailback; /**< Monitor flag for Galera Cluster Master failback */
|
||||
int availableWhenDonor; /**< Monitor flag for Galera Cluster Donor availability */
|
||||
int disableMasterRoleSetting; /**< Monitor flag to disable setting master role */
|
||||
|
Reference in New Issue
Block a user