mariadb/mysql-test/suite/galera_sr/t/mdev_18631.test
mkaruza 53173709b3 MDEV-26223 Galera cluster node consider old server_id value even after modification of server_id [wsrep_gtid_mode=ON]
Variable `wsrep_new_cluster` now will be TRUE also when there is only `gcomm://` used
in configuration. This configuration, even without --wsrep-new-cluster,
is considered to bootstrap new cluster.

Updated galera GTID test to ignore warning message when non bootstrap
node have server-id different thant one cluster is initialized with.

Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
2022-01-27 08:22:46 +02:00

25 lines
527 B
Text

#
# Test that streaming replication works with wsrep_gtid_mode=ON.
# The configuration is provided in mdev_18631.cnf.
#
--source include/galera_cluster.inc
--source include/have_innodb.inc
--echo # On node_1
--connection node_1
CREATE TABLE t1(f1 INT PRIMARY KEY) ENGINE=INNODB;
INSERT INTO t1 VALUES (1), (2), (3);
--connection node_2
call mtr.add_suppression("WSREP: Ignoring server id for non bootstrap node.");
SELECT * FROM t1;
--connection node_1
SELECT * FROM t1;
DROP TABLE t1;
--source include/galera_end.inc