| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connection node_1; |
| 4 |
CREATE TABLE t1 (f1 INTEGER) Engine=InnoDB; |
| 5 |
SET GLOBAL wsrep_desync=1; |
| 6 |
SET wsrep_OSU_method=RSU; |
| 7 |
SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue'; |
| 8 |
ALTER TABLE t1 ADD COLUMN f2 INTEGER;; |
| 9 |
connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1; |
| 10 |
connect node_1b, 127.0.0.1, root, , test, $NODE_MYPORT_1; |
| 11 |
connection node_1a; |
| 12 |
SET GLOBAL wsrep_desync=0; |
| 13 |
SET DEBUG_SYNC= 'now SIGNAL continue'; |
| 14 |
connection node_1; |
| 15 |
SHOW CREATE TABLE t1; |
| 16 |
Table Create Table |
| 17 |
t1 CREATE TABLE `t1` ( |
| 18 |
`f1` int(11) DEFAULT NULL, |
| 19 |
`f2` int(11) DEFAULT NULL |
| 20 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci |
| 21 |
SHOW VARIABLES LIKE 'wsrep_desync'; |
| 22 |
Variable_name Value |
| 23 |
wsrep_desync OFF |
| 24 |
SET wsrep_OSU_method=TOI; |
| 25 |
DROP TABLE t1; |
| 26 |
SET DEBUG_SYNC= 'RESET'; |
| 27 |
connection node_1; |
| 28 |
CREATE TABLE t1 (f1 INTEGER) Engine=InnoDB; |
| 29 |
SET GLOBAL wsrep_desync=0; |
| 30 |
Warnings: |
| 31 |
Warning 1231 'wsrep_desync' is already OFF. |
| 32 |
SET wsrep_OSU_method=RSU; |
| 33 |
SET DEBUG_SYNC = 'alter_table_before_create_table_no_lock WAIT_FOR continue'; |
| 34 |
ALTER TABLE t1 ADD COLUMN f2 INTEGER;; |
| 35 |
connection node_1a; |
| 36 |
SET GLOBAL wsrep_desync=1;; |
| 37 |
connection node_1b; |
| 38 |
SET DEBUG_SYNC= 'now SIGNAL continue'; |
| 39 |
connection node_1; |
| 40 |
connection node_1a; |
| 41 |
SET GLOBAL wsrep_desync=0; |
| 42 |
SHOW CREATE TABLE t1; |
| 43 |
Table Create Table |
| 44 |
t1 CREATE TABLE `t1` ( |
| 45 |
`f1` int(11) DEFAULT NULL, |
| 46 |
`f2` int(11) DEFAULT NULL |
| 47 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci |
| 48 |
SET wsrep_OSU_method=TOI; |
| 49 |
DROP TABLE t1; |
| 50 |
SET DEBUG_SYNC= 'RESET'; |
| 51 |
CALL mtr.add_suppression("Protocol violation"); |
| 52 |
CALL mtr.add_suppression("desync failed"); |
| 53 |
connection node_2; |
| 54 |
CALL mtr.add_suppression("Protocol violation"); |