Skip to content

Commit f5085f4

Browse files
Herman Leefacebook-github-bot
Herman Lee
authored andcommitted
Use master_retry_count to fix rpl.rpl_semi_sync_master_crash_if_active_trxs
Summary: The proper variable to adjust is master_retry_count, not master_connect_retry. Squash with D5841339 Reviewed By: abhinav04sharma Differential Revision: D7317422 fbshipit-source-id: 6938715
1 parent 57bfabe commit f5085f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mysql-test/suite/rpl/r/rpl_semi_sync_master_crash_if_active_trxs.result

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ call mtr.add_suppression("Force shutdown: Semi-sync master is being switched off
88
create table t1(a int) engine=innodb;
99
include/stop_slave.inc
1010
SET GLOBAL DEBUG='+d,dont_send_semi_sync_reply';
11-
CHANGE MASTER TO MASTER_CONNECT_RETRY=0;
11+
CHANGE MASTER TO MASTER_RETRY_COUNT=0;
1212
include/start_slave.inc
1313
insert into t1 values(1);
1414
ERROR HY000: Lost connection to MySQL server during query

mysql-test/suite/rpl/t/rpl_semi_sync_master_crash_if_active_trxs.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sync_slave_with_master;
1313
connection slave;
1414
source include/stop_slave.inc;
1515
SET GLOBAL DEBUG='+d,dont_send_semi_sync_reply';
16-
CHANGE MASTER TO MASTER_CONNECT_RETRY=0;
16+
CHANGE MASTER TO MASTER_RETRY_COUNT=0;
1717
source include/start_slave.inc;
1818

1919
##

0 commit comments

Comments
 (0)