Skip to content

Commit

Permalink
MDEV-15238 rpl.perf_buildin_semisync_issue40 sporadically fails on BB
Browse files Browse the repository at this point in the history
The test was used to result in mismatch due to unaccounted specifics
of the master-slave handshake protocol that sets the Slave_IO_Running
status to true while the semisync master status is set to active a bit later.

The test is refined to expect that.
  • Loading branch information
andrelkin committed Feb 7, 2018
1 parent 029ab11 commit 7bcf5e2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ START SLAVE IO_THREAD;
--source include/wait_for_slave_io_to_start.inc

connection con1;
--let $status_var= Rpl_semi_sync_master_status
--let $status_var_value=ON
--source include/wait_for_status_var.inc

SET GLOBAL rpl_semi_sync_master_timeout= 10000000;
SET GLOBAL rpl_semi_sync_master_wait_no_slave= 1;
INSERT INTO t1 values (4);
Expand Down

0 comments on commit 7bcf5e2

Please sign in to comment.