Debian Codegraph @

mysql-test/suite/galera/r/galera_set_position_after_cert_failure.result

raw
1 connection node_2;
2 connection node_1;
3 connection node_1;
4 connection node_2;
5 connection node_2;
6 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY, f2 CHAR(255)) Engine=InnoDB;
7 SET GLOBAL wsrep_slave_threads = 2;
8 SET GLOBAL DEBUG_DBUG = "d,sync.wsrep_apply_cb";
9 connection node_1;
10 INSERT INTO t1 VALUES (1, 'node_1');;
11 connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
12 connection node_2a;
13 SET DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
14 connection node_2;
15 SET SESSION wsrep_sync_wait = 0;
16 SET SESSION wsrep_retry_autocommit = 0;
17 INSERT INTO t1 VALUES (1, 'node_2');;
18 connection node_2a;
19 SET SESSION wsrep_sync_wait = 0;
20 SET DEBUG_SYNC = "now SIGNAL signal.wsrep_apply_cb";
21 connection node_2;
22 ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
23 connection node_1;
24 connection node_2a;
25 SET GLOBAL DEBUG_DBUG = "";
26 SET DEBUG_SYNC = "RESET";
27 disconnect node_2a;
28 connection node_2;
29 connection node_1;
30 SET SESSION wsrep_sync_wait = 0;
31 Performing --wsrep-recover ...
32 connection node_2;
33 Using --wsrep-start-position when starting mysqld ...
34 connection node_1;
35 DROP TABLE t1;
36 SET GLOBAL wsrep_slave_threads = DEFAULT;