Debian Codegraph @

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

raw
1 connection node_2;
2 connection node_1;
3 connection node_2;
4 CREATE TABLE t1(a int not null primary key auto_increment,b int) engine=InnoDB;
5 insert into t1 values (NULL,1);
6 connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
7 connection node_2a;
8 truncate t1;
9 insert into t1 values (1,0);
10 begin;
11 update t1 set b=2 where a=1;
12 connection node_2;
13 set session wsrep_sync_wait=0;
14 connect node_2b, 127.0.0.1, root, , test, $NODE_MYPORT_2;
15 connection node_2b;
16 SET GLOBAL debug_dbug = "d,sync.before_wsrep_thd_abort";
17 connection node_1;
18 select * from t1;
19 a b
20 1 0
21 update t1 set b= 1 where a=1;
22 connection node_2b;
23 SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.before_wsrep_thd_abort_reached";
24 connection node_2;
25 SET DEBUG_SYNC= 'wsrep_kill_before_awake_no_mutex SIGNAL awake_reached WAIT_FOR continue_kill';
26 connection node_2b;
27 SET DEBUG_SYNC='now WAIT_FOR awake_reached';
28 SET GLOBAL debug_dbug = "";
29 SET DEBUG_SYNC = "now SIGNAL signal.before_wsrep_thd_abort";
30 connection node_1;
31 COMMIT;
32 connection node_2b;
33 SET DEBUG_SYNC = "now SIGNAL continue_kill";
34 connection node_2;
35 connection node_2a;
36 select * from t1;
37 connection node_2b;
38 SET DEBUG_SYNC = "RESET";
39 drop table t1;
40 disconnect node_2a;
41 connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
42 connection node_2a;
43 CREATE TABLE t1 (i int primary key) engine=innodb;
44 SET DEBUG_SYNC = "before_wsrep_ordered_commit SIGNAL bwoc_reached WAIT_FOR bwoc_continue";
45 INSERT INTO t1 VALUES (1);
46 connection node_2;
47 SET DEBUG_SYNC = "now WAIT_FOR bwoc_reached";
48 SET DEBUG_SYNC = "now SIGNAL bwoc_continue";
49 connection node_2a;
50 connection node_2;
51 SET DEBUG_SYNC='RESET';
52 select * from t1;
53 i
54 1
55 disconnect node_2a;
56 disconnect node_2b;
57 connection node_1;
58 drop table t1;