Debian Codegraph @

mysql-test/suite/galera/r/MDEV-38201.result

raw
1 connection node_2;
2 connection node_1;
3 connection node_1;
4 connection node_2;
5 connection node_1;
6 SET GLOBAL wsrep_provider_options ='pc.ignore_sb=true;pc.weight=2';
7 connection node_2;
8 CREATE TABLE t1 (f1 INT) ENGINE=InnoDB;
9 SET GLOBAL wsrep_IGNORE_apply_errors=1;
10 SET SESSION wsrep_dirty_reads=1;
11 SHOW CREATE TABLE t1;
12 Table Create Table
13 t1 CREATE TABLE `t1` (
14 `f1` int(11) DEFAULT NULL
15 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
16 FLUSH HOSTS;
17 CREATE TABLE t1 (f1 INT) ENGINE=InnoDB;
18 ERROR 42S01: Table 't1' already exists
19 FLUSH HOSTS;
20 ERROR HY000: Galera replication not supported
21 SHOW WARNINGS;
22 Level Code Message
23 Error 4165 Galera replication not supported
24 Warning 4165 Galera cluster is not ready to execute replication
25 connection node_1;
26 # Wait until inconsistent node_2 leaves from cluster
27 connection node_2;
28 # Restart node_2
29 call mtr.add_suppression("WSREP: Inconsistency detected: Inconsistent by consensus on");
30 connection node_1;
31 # Wait until node_2 is back in the cluster
32 SET GLOBAL wsrep_provider_options ='pc.ignore_sb=false;pc.weight=1';
33 DROP TABLE t1;
34 disconnect node_2;
35 disconnect node_1;