Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
2.6.1
-
0
-
Yes
-
Yes
-
No
Description
MySQLd exporters instruments wsrep_cluster_status as:
... if bytes.Compare(data, []byte("Non-Primary")) == 0 || bytes.Compare(data, []byte("Disconnected")) == 0 { return 0, true } ...
buy WSREP reports the state as non-Primary, not Non-Primary:
static const char* cluster_status_str[WSREP_VIEW_MAX] = { "Primary", "non-Primary", "Disconnected" };
DoD:
- Our version of mysqld_exporter fixed
- Dashboard present correct information
- PR for upstream created
Out of scope:
- waiting for fix this on the upstream side, just send PR for them
- Update of PS documentation
DOC: Correct status (non_Primary) has to be shown in documentation too
https://www.percona.com/doc/percona-xtradb-cluster/LATEST/wsrep-status-index.html
Attachments
Issue Links
- causes
-
PXC-3314 Documentation needs to be fixed for wsrep_cluster_status
-
- Done
-
- links to