Debian Codegraph @

mysql-test/suite/galera_sr/r/MDEV-32051.result

raw
1 connection node_2;
2 connection node_1;
3 connection node_1;
4 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
5 INSERT INTO t1 VALUES(1);
6 connection node_1;
7 SET SESSION wsrep_trx_fragment_size=1;
8 SET DEBUG_SYNC='wsrep_before_certification SIGNAL before_fragment WAIT_FOR continue';
9 INSERT INTO t1 VALUES (2);
10 connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
11 connection node_1a;
12 SET SESSION wsrep_sync_wait=0;
13 SET DEBUG_SYNC='now WAIT_FOR before_fragment';
14 SET GLOBAL wsrep_provider_options = 'dbug=d,before_replicate_sync';
15 SET DEBUG_SYNC='now SIGNAL continue';
16 SET SESSION wsrep_on = 0;
17 SET SESSION wsrep_on = 1;
18 SET DEBUG_SYNC='RESET';
19 connection node_2;
20 TRUNCATE TABLE t1;
21 connection node_1a;
22 SET GLOBAL wsrep_provider_options = 'signal=before_replicate_sync';
23 SET GLOBAL wsrep_provider_options = 'dbug=';
24 connection node_1;
25 SELECT * FROM t1;
26 f1
27 2
28 SELECT COUNT(*) FROM mysql.wsrep_streaming_log;
29 COUNT(*)
30 0
31 connection node_2;
32 SELECT * FROM t1;
33 f1
34 2
35 SELECT COUNT(*) FROM mysql.wsrep_streaming_log;
36 COUNT(*)
37 0
38 DROP TABLE t1;