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