Skip to content
Permalink
Browse files

post-merge fixes

rebuild galera.galera_as_slave_gtid and multi_source.mdev-8874
  • Loading branch information...
kevgs committed Jul 9, 2019
1 parent 4f1e4aa commit 46c9268b0a72036a8c8e72762d0b289b38e344bf
@@ -23,6 +23,9 @@ connection node_2;
STOP SLAVE;
RESET SLAVE ALL;
#cleanup
connection node_1;
reset master;
connection node_2;
reset master;
connection node_3;
reset master;
@@ -1,21 +1,29 @@
connect server_1,127.0.0.1,root,,,$SERVER_MYPORT_1;
connect server_2,127.0.0.1,root,,,$SERVER_MYPORT_2;
connect server_3,127.0.0.1,root,,,$SERVER_MYPORT_3;
connect server_4,127.0.0.1,root,,,$SERVER_MYPORT_4;
connection server_1;
create database a;
use a;
create table t1(a int);
insert into t1 values(1);
create table t2(a int);
insert into t2 values(1);
connection server_2;
create database b;
use b;
create table t1(a int);
insert into t1 values(1);
create table t2(a int);
insert into t2 values(1);
connection server_3;
create database c;
use c;
create table t1(a int);
insert into t1 values(1);
create table t2(a int);
insert into t2 values(1);
connection server_4;
change master 'm1' to master_port=MYPORT_1 , master_host='127.0.0.1', master_user='root';
change master 'm2' to master_port=MYPORT_2 , master_host='127.0.0.1', master_user='root';
change master to master_port=MYPORT_3 , master_host='127.0.0.1', master_user='root';
@@ -102,9 +110,13 @@ show tables;
Tables_in_c
t2
#CleanUp
connection server_1;
drop database a;
connection server_2;
drop database b;
connection server_3;
drop database c;
connection server_4;
stop all slaves;
SET default_master_connection = "m1";
include/wait_for_slave_to_stop.inc

0 comments on commit 46c9268

Please sign in to comment.
You can’t perform that action at this time.