Commit f763a96d authored by Serge Kozlov's avatar Serge Kozlov

Bug#37732

parent 4b9e18b8
...@@ -115,7 +115,7 @@ SELECT 'Master D',a,b FROM t1 WHERE c = 2 ORDER BY a,b; ...@@ -115,7 +115,7 @@ SELECT 'Master D',a,b FROM t1 WHERE c = 2 ORDER BY a,b;
Master D a b Master D a b
Master D 8 D Master D 8 D
* Reconfigure replication to schema A->B->C->A * * Reconfigure replication to schema A->B->D->A *
STOP SLAVE; STOP SLAVE;
STOP SLAVE; STOP SLAVE;
CHANGE MASTER TO master_host='127.0.0.1',master_port=MASTER_B_PORT,master_user='root',master_log_file='LOG_FILE',master_log_pos=LOG_POS; CHANGE MASTER TO master_host='127.0.0.1',master_port=MASTER_B_PORT,master_user='root',master_log_file='LOG_FILE',master_log_pos=LOG_POS;
......
...@@ -91,7 +91,7 @@ SELECT 'Master C',a,b FROM t1 WHERE c = 2 ORDER BY a,b; ...@@ -91,7 +91,7 @@ SELECT 'Master C',a,b FROM t1 WHERE c = 2 ORDER BY a,b;
SELECT 'Master D',a,b FROM t1 WHERE c = 2 ORDER BY a,b; SELECT 'Master D',a,b FROM t1 WHERE c = 2 ORDER BY a,b;
--echo --echo
--echo * Reconfigure replication to schema A->B->C->A * --echo * Reconfigure replication to schema A->B->D->A *
# Exclude Master C # Exclude Master C
--connection master_c --connection master_c
STOP SLAVE; STOP SLAVE;
...@@ -106,6 +106,7 @@ source include/start_slave.inc; ...@@ -106,6 +106,7 @@ source include/start_slave.inc;
disconnect slave; disconnect slave;
--connection master_b --connection master_b
--sync_slave_with_master master_d --sync_slave_with_master master_d
--sync_slave_with_master master_a
--echo --echo
--echo * Check data inserted before failure * --echo * Check data inserted before failure *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment