mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03: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:
@@ -25,6 +25,7 @@ let $wait_condition= SELECT COUNT(*) > 0 FROM t1;
|
|||||||
source include/wait_condition.inc;
|
source include/wait_condition.inc;
|
||||||
stop slave io_thread;
|
stop slave io_thread;
|
||||||
start slave io_thread;
|
start slave io_thread;
|
||||||
|
source include/wait_for_slave_to_start.inc;
|
||||||
sync_with_master;
|
sync_with_master;
|
||||||
|
|
||||||
connection master;
|
connection master;
|
||||||
|
Reference in New Issue
Block a user