| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=true'; |
| 4 |
connection node_2; |
| 5 |
SET @@global.wsrep_desync = 1; |
| 6 |
SET SESSION wsrep_dirty_reads=1; |
| 7 |
SET SESSION wsrep_sync_wait=0; |
| 8 |
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1'; |
| 9 |
connection node_1; |
| 10 |
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY, f2 CHAR(1)); |
| 11 |
connection node_2; |
| 12 |
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0'; |
| 13 |
SET wsrep_dirty_reads=0; |
| 14 |
SHOW STATUS LIKE 'wsrep_desync_count'; |
| 15 |
Variable_name Value |
| 16 |
wsrep_desync_count 0 |
| 17 |
SET @@global.wsrep_desync = 0; |
| 18 |
SET SESSION wsrep_sync_wait=15; |
| 19 |
SHOW CREATE TABLE t1; |
| 20 |
Table Create Table |
| 21 |
t1 CREATE TABLE `t1` ( |
| 22 |
`f1` int(11) NOT NULL, |
| 23 |
`f2` char(1) DEFAULT NULL, |
| 24 |
PRIMARY KEY (`f1`) |
| 25 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci |
| 26 |
DROP TABLE t1; |
| 27 |
CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender .+ ?is not in state transfer \\(SYNCED\\)\\. Message ignored\\."); |
| 28 |
connection node_1; |
| 29 |
SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=false'; |