| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1; |
| 4 |
connect node_1b, 127.0.0.1, root, , test, $NODE_MYPORT_1; |
| 5 |
set wsrep_sync_wait = 0; |
| 6 |
CREATE TABLE t1(a int not null primary key auto_increment, b int) engine=InnoDB; |
| 7 |
INSERT INTO t1 VALUES (1,2); |
| 8 |
connection node_1a; |
| 9 |
BEGIN; |
| 10 |
UPDATE t1 SET b=3 WHERE a=1; |
| 11 |
connection node_1; |
| 12 |
set debug_sync='wsrep_kill_before_awake_no_mutex SIGNAL before_kill WAIT_FOR continue'; |
| 13 |
connection node_1b; |
| 14 |
set debug_sync= 'now WAIT_FOR before_kill'; |
| 15 |
connection node_2; |
| 16 |
UPDATE t1 SET b=7 WHERE a=1; |
| 17 |
connection node_1b; |
| 18 |
set debug_sync= 'now SIGNAL continue'; |
| 19 |
connection node_1; |
| 20 |
DROP TABLE t1; |
| 21 |
SET DEBUG_SYNC= 'RESET'; |