mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
16 lines
690 B
Text
16 lines
690 B
Text
connection node_2;
|
|
connection node_1;
|
|
SELECT VARIABLE_VALUE = 4 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state';
|
|
VARIABLE_VALUE = 4
|
|
1
|
|
SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment';
|
|
VARIABLE_VALUE = 'Synced'
|
|
1
|
|
SET GLOBAL wsrep_desync = 1;
|
|
SELECT VARIABLE_VALUE = 'Donor/Desynced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment';
|
|
VARIABLE_VALUE = 'Donor/Desynced'
|
|
1
|
|
SET GLOBAL wsrep_desync = 0;
|
|
SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment';
|
|
VARIABLE_VALUE = 'Synced'
|
|
1
|