Commit ed0ab6e1 authored by Yuchen Pei's avatar Yuchen Pei

MDEV-27575 Add sleeping statement spider/bugfix.mdev_27575

This could help prevent race condition when shutting down the server
not long after loading spider. Thus only needed for 10.4-10.6.
parent 64f44b22
...@@ -5,8 +5,14 @@ for master_1 ...@@ -5,8 +5,14 @@ for master_1
for child2 for child2
for child3 for child3
SET GLOBAL default_tmp_storage_engine=spider; SET GLOBAL default_tmp_storage_engine=spider;
SELECT SLEEP(1);
SLEEP(1)
0
# restart # restart
SET GLOBAL default_storage_engine=Spider; SET GLOBAL default_storage_engine=Spider;
SELECT SLEEP(1);
SLEEP(1)
0
# restart # restart
for master_1 for master_1
for child2 for child2
......
...@@ -8,9 +8,11 @@ ...@@ -8,9 +8,11 @@
--enable_query_log --enable_query_log
SET GLOBAL default_tmp_storage_engine=spider; SET GLOBAL default_tmp_storage_engine=spider;
SELECT SLEEP(1);
--source include/restart_mysqld.inc --source include/restart_mysqld.inc
SET GLOBAL default_storage_engine=Spider; SET GLOBAL default_storage_engine=Spider;
SELECT SLEEP(1);
--source include/restart_mysqld.inc --source include/restart_mysqld.inc
--disable_query_log --disable_query_log
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment