Debian Codegraph @

mysql-test/suite/galera_sr/r/GCF-1018.result

raw
1 connection node_2;
2 connection node_1;
3 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 CHAR(255)) ENGINE=InnoDB;
4 INSERT INTO t1 (f2) VALUES ('a');
5 INSERT INTO t1 (f2) VALUES ('b');
6 INSERT INTO t1 (f2) VALUES ('c');
7 connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
8 connection node_2a;
9 SET SESSION wsrep_sync_wait = 0;
10 SET GLOBAL wsrep_provider_options = 'dbug=d,after_certify_apply_monitor_enter';
11 connection node_2;
12 SET SESSION wsrep_retry_autocommit = 0;
13 SET SESSION wsrep_trx_fragment_size = 64;
14 DELETE FROM t1 ORDER BY f1 DESC LIMIT 2;;
15 connection node_2a;
16 SET SESSION wsrep_on = 0;
17 SET SESSION wsrep_on = 1;
18 connection node_1;
19 INSERT INTO t1 (f2) VALUES ('d'),('e');
20 connection node_2a;
21 SET GLOBAL wsrep_provider_options = 'signal=after_certify_apply_monitor_enter';
22 SET GLOBAL wsrep_provider_options = 'dbug=';
23 connection node_2;
24 ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
25 DROP TABLE t1;