Skip to content

Commit 6938715

Browse files
author
Herman Lee
committed
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 Test Plan: mtr rpl.rpl_semi_sync_master_crash_if_active_trxs verify show slave status with master_retry_count Reviewers: abhinavsharma, mung Reviewed By: abhinavsharma Subscribers: webscalesql-eng@fb.com Differential Revision: https://phabricator.intern.facebook.com/D7317422 Tasks: T26970848 Signature: 7317422:1521409002:c971567f5688f55dc775d06e63d1da8371074c00
1 parent f366c40 commit 6938715

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)