mariadb/mysql-test/suite/galera/r/MDEV-10715.result
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

30 lines
669 B
Text

connection node_2;
connection node_1;
connection node_1;
create table t1(a int);
set @@wsrep_gtid_seq_no=22;
insert into t1 values(1);
insert into t1 values(2);
select @@gtid_binlog_state;
@@gtid_binlog_state
1-1-23
select wsrep_last_seen_gtid();
wsrep_last_seen_gtid()
1-1-23
select wsrep_last_written_gtid();
wsrep_last_written_gtid()
1-1-23
connection node_2;
select @@gtid_binlog_state;
@@gtid_binlog_state
1-1-23
select wsrep_last_seen_gtid();
wsrep_last_seen_gtid()
1-1-23
select wsrep_last_written_gtid();
wsrep_last_written_gtid()
1-1-0
connection node_1;
drop table t1;
connection node_2;
CALL mtr.add_suppression("Ignoring server id for non bootstrap node");