|
test case
|
|
node3:root@localhost> show global status like 'wsrep_gcomm_uuid';
|
+------------------+--------------------------------------+
|
| Variable_name | Value |
|
+------------------+--------------------------------------+
|
| wsrep_gcomm_uuid | 74ae01e0-9316-11ed-a9d5-7208a7fc2a19 |
|
+------------------+--------------------------------------+
|
1 row in set (0.002 sec)
|
|
node3:root@localhost> set global wsrep_provider_evs_evict='74ae01e0-9316-11ed-a9d5-7208a7fc2a19';
|
Query OK, 0 rows affected (0.002 sec)
|
|
node3:root@localhost> show global status like 'wsrep%stat%';
|
+---------------------------+--------------------------------------+
|
| Variable_name | Value |
|
+---------------------------+--------------------------------------+
|
| wsrep_local_state_uuid | 1e476211-930e-11ed-89f9-da74090fa0cb |
|
| wsrep_local_state | 0 |
|
| wsrep_local_state_comment | Initialized |
|
| wsrep_cluster_state_uuid | 00000000-0000-0000-0000-000000000000 |
|
| wsrep_cluster_status | Disconnected |
|
+---------------------------+--------------------------------------+
|
5 rows in set (0.001 sec)
|
|
node3:root@localhost>
|
|
|
|
Status file.
|
|
Every 3.0s: cat node3/wsrep_status.json galapq: Fri Jan 13 09:51:53 2023
|
|
{
|
"date": "2023-01-13 09:48:00.000",
|
"timestamp": 1673596080.00000000,
|
"errors": [
|
{
|
"timestamp": 1673596080.00000000,
|
"msg": "WSREP: exception from gcomm, backend must be restarted: this node has been evicted out of the cluster, gcomm backend restart is required (FATAL)\n\t at \/test\/mtest\/galera\/gcomm
|
\/src\/gmcast_proto.cpp:handle_failed():283"
|
}
|
],
|
"warnings": [
|
{
|
"timestamp": 1673596080.00000000,
|
"msg": "WSREP: handshake with e2482adf-ac83 tcp:\/\/127.0.0.1:11391 failed: 'evicted'"
|
},
|
{
|
"timestamp": 1673596080.00000000,
|
"msg": "Aborted connection 2 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)"
|
},
|
{
|
"timestamp": 1673596080.00000000,
|
"msg": "Aborted connection 6 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)"
|
}
|
],
|
"events": [
|
],
|
"status": {
|
"state": "DISCONNECTED",
|
"comment": "Disconnected",
|
"progress": { "from": -1, "to": -1, "total": -1, "done": -1, "indefinite": -1 }
|
}
|
}
|
|
My original task for this,
MDEV-21901, was closed as "Won't Do" with the idea to use this JSON status file instead. Unfortunately this had not happened.