Debian Codegraph @

mysql-test/suite/galera_sr/r/MDEV-21613.result

raw
1 connection node_2;
2 connection node_1;
3 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY);
4 connection node_1;
5 SET SESSION wsrep_trx_fragment_size = 1;
6 SET DEBUG_SYNC = "wsrep_before_fragment_removal SIGNAL fragment_removal_reached WAIT_FOR fragment_removal_continue";
7 START TRANSACTION;
8 INSERT INTO t1 VALUES(1), (2);
9 COMMIT;
10 connect node_ctrl, 127.0.0.1, root, , test, $NODE_MYPORT_1;
11 connection node_ctrl;
12 SET DEBUG_SYNC = "now WAIT_FOR fragment_removal_reached";
13 connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
14 connection node_1a;
15 TRUNCATE TABLE t1;
16 connection node_1;
17 ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
18 connection node_ctrl;
19 SET DEBUG_SYNC = 'RESET';
20 DROP TABLE t1;