mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
29 lines
1,014 B
Text
29 lines
1,014 B
Text
connection node_2;
|
|
connection node_1;
|
|
SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=true';
|
|
connection node_2;
|
|
SET @@global.wsrep_desync = 1;
|
|
SET SESSION wsrep_dirty_reads=1;
|
|
SET SESSION wsrep_sync_wait=0;
|
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY, f2 CHAR(1));
|
|
connection node_2;
|
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0';
|
|
SET wsrep_dirty_reads=0;
|
|
SHOW STATUS LIKE 'wsrep_desync_count';
|
|
Variable_name Value
|
|
wsrep_desync_count 0
|
|
SET @@global.wsrep_desync = 0;
|
|
SET SESSION wsrep_sync_wait=15;
|
|
SHOW CREATE TABLE t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`f1` int(11) NOT NULL,
|
|
`f2` char(1) DEFAULT NULL,
|
|
PRIMARY KEY (`f1`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
|
DROP TABLE t1;
|
|
CALL mtr.add_suppression("WSREP: Protocol violation. JOIN message sender (.*) is not in state transfer \\(SYNCED\\). Message ignored.");
|
|
connection node_1;
|
|
SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=false';
|