[MDEV-21479] Galera 4 unable to query cluster state if not primary component Created: 2020-01-15 Updated: 2023-06-07 Resolved: 2023-05-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.4.31, 10.5.22, 10.6.15, 10.9.8, 10.10.6, 10.11.5, 11.0.3, 11.1.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Vincent Milum Jr | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
For some reason, wsrep_streaming_log works (but is empty), but wsrep_cluster and wsrep_cluster_members both fail. For sysadmin purposes, it would be nice to have this information available |
| Comments |
| Comment by Vincent Milum Jr [ 2020-01-17 ] |
|
Just an FYI, the primary reason I need this. With Galera 4, wsrep_incoming_addresses shows "AUTO" now, and the only way to see (that I'm aware of) which nodes are connected is via these tables. When a network split occurs, I use the information about which nodes can still communicate with which other nodes to determiner course of action. It two nodes are broken off from the main cluster at the same time, I use the information of if they can still communicate with one-another while non-primary to determine which route should be taken to resolve the issue. |
| Comment by Jan Lindström [ 2023-04-25 ] |
| Comment by Julius Goryavsky [ 2023-05-16 ] |
|
Fix merged with head revision: https://github.com/MariaDB/server/commit/956d6c4af9e353299cce6d2ccbd7c400a1d00d70 |