Add missing priority usage information to galeramon

The monitor did not print the current value of this parameter and knowing
it is helpful.
This commit is contained in:
Markus Mäkelä 2018-05-22 15:41:33 +03:00
parent cd303df35c
commit 5f167abafd
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -218,6 +218,7 @@ diagnostics(DCB *dcb, const MXS_MONITOR *mon)
dcb_printf(dcb, "Available when Donor:\t%s\n", (handle->availableWhenDonor == 1) ? "on" : "off");
dcb_printf(dcb, "Master Role Setting Disabled:\t%s\n",
handle->disableMasterRoleSetting ? "on" : "off");
dcb_printf(dcb, "Use Priorities:\t%s\n", handle->use_priority ? "on" : "off");
dcb_printf(dcb, "Set wsrep_sst_donor node list:\t%s\n", (handle->set_donor_nodes == 1) ? "on" : "off");
if (handle->cluster_info.c_uuid)
{