Skip to content

Commit ed0ab6e

Browse files
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.
1 parent 64f44b2 commit ed0ab6e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

storage/spider/mysql-test/spider/bugfix/r/mdev_27575.result

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ for master_1
55
for child2
66
for child3
77
SET GLOBAL default_tmp_storage_engine=spider;
8+
SELECT SLEEP(1);
9+
SLEEP(1)
10+
0
811
# restart
912
SET GLOBAL default_storage_engine=Spider;
13+
SELECT SLEEP(1);
14+
SLEEP(1)
15+
0
1016
# restart
1117
for master_1
1218
for child2

storage/spider/mysql-test/spider/bugfix/t/mdev_27575.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
--enable_query_log
99

1010
SET GLOBAL default_tmp_storage_engine=spider;
11+
SELECT SLEEP(1);
1112
--source include/restart_mysqld.inc
1213

1314
SET GLOBAL default_storage_engine=Spider;
15+
SELECT SLEEP(1);
1416
--source include/restart_mysqld.inc
1517

1618
--disable_query_log

0 commit comments

Comments
 (0)