mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Bug#40142: possible reason of timeout is stopped slave threads before
sync_with_master command. The patch add waiting of proper state of slave before sync with master.
This commit is contained in:
parent
5c16a315ca
commit
755bcd99c0
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ let $wait_condition= SELECT COUNT(*) > 0 FROM t1;
|
|||
source include/wait_condition.inc;
|
||||
stop slave io_thread;
|
||||
start slave io_thread;
|
||||
source include/wait_for_slave_to_start.inc;
|
||||
sync_with_master;
|
||||
|
||||
connection master;
|
||||
|
|
Loading…
Reference in a new issue