
The functionality to disable setting of master and slave status values to Galera nodes was broken by the change to the monitoring algorithm. The disable_master_role_setting option removed the master node which would trigger the clearing of the replication status values from the node. A more direct, and arguably better, way is to check that this option is disabled before processing the status values for the nodes.