Debian Codegraph @

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

raw
1 connection node_2;
2 connection node_1;
3 connect node_1_kill, 127.0.0.1, root, , test, $NODE_MYPORT_1;
4 connect node_1_ctrl, 127.0.0.1, root, , test, $NODE_MYPORT_1;
5 SET SESSION wsrep_sync_wait = 0;
6 connect node_1_follower, 127.0.0.1, root, , test, $NODE_MYPORT_1;
7 SET SESSION wsrep_sync_wait = 0;
8 connection node_1;
9 CREATE TABLE t1 (f1 INT PRIMARY KEY) ENGINE=InnoDB;
10 SET SESSION DEBUG_SYNC = "commit_before_enqueue SIGNAL leader_before_enqueue_reached WAIT_FOR leader_before_enqueue_continue";
11 INSERT INTO t1 VALUES (1);
12 connection node_1_ctrl;
13 SET DEBUG_SYNC = "now WAIT_FOR leader_before_enqueue_reached";
14 connection node_1_follower;
15 INSERT INTO t1 VALUES (2);;
16 connection node_1_ctrl;
17 connection node_1_kill;
18 # Execute KILL QUERY for group commit follower
19 SET DEBUG_SYNC = "now SIGNAL leader_before_enqueue_continue";
20 connection node_1_follower;
21 connection node_1;
22 SELECT * FROM t1;
23 f1
24 1
25 2
26 SET DEBUG_SYNC = "RESET";
27 DROP TABLE t1;