mirror of
https://github.com/MariaDB/server.git
synced 2026-02-18 16:49:03 +01:00
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>
25 lines
527 B
Text
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
|