mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
34 lines
892 B
Text
34 lines
892 B
Text
CREATE TABLE t1 (f1 INTEGER);
|
|
LOCK TABLE t1 WRITE;
|
|
value prior to RSU:
|
|
SHOW STATUS LIKE 'wsrep_desync_count';
|
|
Variable_name Value
|
|
wsrep_desync_count 0
|
|
SHOW VARIABLES LIKE 'wsrep_desync';
|
|
Variable_name Value
|
|
wsrep_desync OFF
|
|
SET SESSION wsrep_sync_wait = 0;
|
|
SET SESSION wsrep_osu_method = RSU;
|
|
ALTER TABLE t1 ADD COLUMN f2 INTEGER;;
|
|
SET SESSION wsrep_sync_wait = 0;
|
|
SET SESSION wsrep_osu_method = RSU;
|
|
ALTER TABLE t1 ADD COLUMN f3 INTEGER;;
|
|
value during RSU:
|
|
SHOW STATUS LIKE 'wsrep_desync_count';
|
|
Variable_name Value
|
|
wsrep_desync_count 2
|
|
SHOW VARIABLES LIKE 'wsrep_desync';
|
|
Variable_name Value
|
|
wsrep_desync OFF
|
|
UNLOCK TABLES;
|
|
value after RSU:
|
|
SHOW STATUS LIKE 'wsrep_desync_count';
|
|
Variable_name Value
|
|
wsrep_desync_count 0
|
|
SHOW VARIABLES LIKE 'wsrep_desync';
|
|
Variable_name Value
|
|
wsrep_desync OFF
|
|
SET GLOBAL wsrep_desync=0;
|
|
Warnings:
|
|
Warning 1231 'wsrep_desync' is already OFF.
|
|
DROP TABLE t1;
|