mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
53173709b3
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>
30 lines
669 B
Text
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");
|