| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connect con1,127.0.0.1,root,,test,$NODE_MYPORT_1; |
| 4 |
call mtr.add_suppression("WSREP: ALTER TABLE isolation failure"); |
| 5 |
CREATE TABLE t1(c1 INT PRIMARY KEY, c2 INT) ENGINE=InnoDB; |
| 6 |
INSERT into t1 values (1,1); |
| 7 |
SET DEBUG_SYNC = 'alter_table_after_open_tables SIGNAL bf_started WAIT_FOR bf_continue'; |
| 8 |
ALTER TABLE t1 DROP COLUMN c2;; |
| 9 |
connection node_1; |
| 10 |
SET SESSION wsrep_sync_wait = 0; |
| 11 |
SET DEBUG_SYNC = 'now WAIT_FOR bf_started'; |
| 12 |
KILL ID; |
| 13 |
ERROR HY000: This is a high priority thread/query and cannot be killed without compromising the consistency of the cluster |
| 14 |
KILL QUERY ID; |
| 15 |
ERROR HY000: This is a high priority thread/query and cannot be killed without compromising the consistency of the cluster |
| 16 |
connection node_1; |
| 17 |
SET DEBUG_SYNC = 'now SIGNAL bf_continue'; |
| 18 |
connection con1; |
| 19 |
SET DEBUG_SYNC = 'RESET'; |
| 20 |
SELECT * FROM t1; |
| 21 |
c1 |
| 22 |
1 |
| 23 |
connection node_1; |
| 24 |
DROP TABLE t1; |
| 25 |
disconnect con1; |