Disabled part of rpl_change_master that fails sporadically because of BUG#59037.
This commit is contained in:
parent
e37c86de18
commit
fb5c33f5f6
@ -15,18 +15,4 @@ n
|
|||||||
1
|
1
|
||||||
2
|
2
|
||||||
drop table t1;
|
drop table t1;
|
||||||
include/rpl_reset.inc
|
|
||||||
create table t1 (a int);
|
|
||||||
insert into t1 values (1);
|
|
||||||
flush logs;
|
|
||||||
insert into t1 values (2);
|
|
||||||
include/stop_slave.inc
|
|
||||||
delete from t1 where a=2;
|
|
||||||
CHANGE MASTER TO relay_log_file='slave-relay-bin.000005', relay_log_pos=4;
|
|
||||||
start slave sql_thread;
|
|
||||||
include/wait_for_slave_sql_to_start.inc
|
|
||||||
start slave io_thread;
|
|
||||||
include/wait_for_slave_io_to_start.inc
|
|
||||||
set global relay_log_purge=1;
|
|
||||||
drop table t1;
|
|
||||||
include/rpl_end.inc
|
include/rpl_end.inc
|
||||||
|
@ -52,6 +52,7 @@ sync_slave_with_master;
|
|||||||
# BUG#12190 CHANGE MASTER has differ path requiremts on MASTER_LOG_FILE and RELAY_LOG_FILE
|
# BUG#12190 CHANGE MASTER has differ path requiremts on MASTER_LOG_FILE and RELAY_LOG_FILE
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if ($bug_59037_is_fixed == 'true') {
|
||||||
--source include/rpl_reset.inc
|
--source include/rpl_reset.inc
|
||||||
|
|
||||||
connection master;
|
connection master;
|
||||||
@ -97,5 +98,6 @@ source include/wait_for_slave_io_to_start.inc;
|
|||||||
eval set global relay_log_purge=$relay_log_purge;
|
eval set global relay_log_purge=$relay_log_purge;
|
||||||
connection master;
|
connection master;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
}
|
||||||
|
|
||||||
--source include/rpl_end.inc
|
--source include/rpl_end.inc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user