mirror of
https://github.com/MariaDB/server.git
synced 2026-02-25 03:58:40 +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>
22 lines
382 B
Text
22 lines
382 B
Text
connection node_2;
|
|
connection node_1;
|
|
# 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;
|
|
f1
|
|
1
|
|
2
|
|
3
|
|
connection node_1;
|
|
SELECT * FROM t1;
|
|
f1
|
|
1
|
|
2
|
|
3
|
|
DROP TABLE t1;
|
|
disconnect node_2;
|
|
disconnect node_1;
|