Debian Codegraph @

mysql-test/suite/galera_sr/r/galera_sr_nonPK_and_PA.result

raw
1 connection node_2;
2 connection node_1;
3 connection node_2;
4 SET SESSION wsrep_sync_wait = 0;
5 SET GLOBAL wsrep_slave_threads = 2;
6 flush status;
7 connection node_1;
8 CREATE TABLE t1 (f1 int, f2 int) ENGINE=InnoDB;
9 CREATE TABLE t2 (f1 int primary key, f2 int) ENGINE=InnoDB;
10 INSERT INTO t1 VALUES (1,0);
11 INSERT INTO t1 VALUES (2,0);
12 INSERT INTO t2 VALUES (1,0);
13 INSERT INTO t2 VALUES (2,0);
14 connection node_2;
15 connection node_1;
16 set session wsrep_trx_fragment_size=1;
17 START TRANSACTION;
18 UPDATE t1 SET f2=1 where f1=1;
19 connection node_2;
20 distance
21 1
22 SET GLOBAL wsrep_provider_options = 'dbug=d,commit_monitor_slave_enter_sync';
23 connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
24 connection node_1a;
25 update t2 set f2=1 where f1=1;
26 connection node_2;
27 SET SESSION wsrep_on = 0;
28 SET SESSION wsrep_on = 1;
29 SET GLOBAL wsrep_provider_options = 'dbug=d,apply_monitor_slave_enter_sync';
30 connection node_1;
31 UPDATE t2 set f2=2 where f1=2;
32 connection node_2;
33 SET SESSION wsrep_on = 0;
34 SET SESSION wsrep_on = 1;
35 SET GLOBAL wsrep_provider_options = 'signal=commit_monitor_slave_enter_sync';
36 SET GLOBAL wsrep_provider_options = 'dbug=';
37 SET GLOBAL wsrep_provider_options = 'signal=apply_monitor_slave_enter_sync';
38 SET GLOBAL wsrep_provider_options = 'dbug=';
39 connection node_1;
40 COMMIT;
41 connection node_1;
42 SET GLOBAL wsrep_slave_threads = DEFAULT;
43 DROP TABLE t1;
44 DROP TABLE t2;
45 connection node_2;
46 SET GLOBAL wsrep_slave_threads = DEFAULT;