mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
14 lines
652 B
Text
14 lines
652 B
Text
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
|