mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-4394 Part II (missing wait condition for IO thread status)
This commit is contained in:
@ -43,6 +43,12 @@ set default_master_connection = 'master1';
|
|||||||
# each of the 3 commands should produce
|
# each of the 3 commands should produce
|
||||||
# 'master1' status
|
# 'master1' status
|
||||||
|
|
||||||
|
let $wait_for_all= 1;
|
||||||
|
let $show_statement= SHOW ALL SLAVES STATUS;
|
||||||
|
let $field= Slave_IO_State;
|
||||||
|
let $condition= = 'Waiting for master to send event';
|
||||||
|
--source include/wait_show_condition.inc
|
||||||
|
|
||||||
--replace_result $SERVER_MYPORT_1 MYPORT_1
|
--replace_result $SERVER_MYPORT_1 MYPORT_1
|
||||||
show slave 'master1' status;
|
show slave 'master1' status;
|
||||||
--replace_result $SERVER_MYPORT_1 MYPORT_1
|
--replace_result $SERVER_MYPORT_1 MYPORT_1
|
||||||
@ -132,6 +138,12 @@ start slave;
|
|||||||
|
|
||||||
# See both connections in the same status output
|
# See both connections in the same status output
|
||||||
|
|
||||||
|
let $wait_for_all= 1;
|
||||||
|
let $show_statement= SHOW ALL SLAVES STATUS;
|
||||||
|
let $field= Slave_IO_State;
|
||||||
|
let $condition= = 'Waiting for master to send event';
|
||||||
|
--source include/wait_show_condition.inc
|
||||||
|
|
||||||
--replace_result $SERVER_MYPORT_1 MYPORT_1 $SERVER_MYPORT_2 MYPORT_2
|
--replace_result $SERVER_MYPORT_1 MYPORT_1 $SERVER_MYPORT_2 MYPORT_2
|
||||||
show all slaves status;
|
show all slaves status;
|
||||||
|
|
||||||
@ -196,6 +208,12 @@ create table db1.t3 (f1 int) engine=InnoDB;
|
|||||||
|
|
||||||
--source wait_for_sql_thread_read_all.inc
|
--source wait_for_sql_thread_read_all.inc
|
||||||
|
|
||||||
|
let $wait_for_all= 1;
|
||||||
|
let $show_statement= SHOW ALL SLAVES STATUS;
|
||||||
|
let $field= Slave_IO_State;
|
||||||
|
let $condition= = 'Waiting for master to send event';
|
||||||
|
--source include/wait_show_condition.inc
|
||||||
|
|
||||||
--replace_result $SERVER_MYPORT_1 MYPORT_1 $SERVER_MYPORT_2 MYPORT_2
|
--replace_result $SERVER_MYPORT_1 MYPORT_1 $SERVER_MYPORT_2 MYPORT_2
|
||||||
show all slaves status;
|
show all slaves status;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user