Commit fee8d39e authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-12754 innodb.truncate_debug fails in buildbot with embedded due to semaphore wait

fix sporadic innodb.truncate_purge_debug failures
parent 28191337
...@@ -75,12 +75,12 @@ connect con2,localhost,root,,; ...@@ -75,12 +75,12 @@ connect con2,localhost,root,,;
set global innodb_adaptive_hash_index=off; set global innodb_adaptive_hash_index=off;
connection default; connection default;
SET DEBUG_SYNC= 'now SIGNAL finish_scan'; SET DEBUG_SYNC= 'now SIGNAL finish_scan';
SET DEBUG_SYNC= 'RESET';
connection con1; connection con1;
disconnect con1; disconnect con1;
connection con2; connection con2;
disconnect con2; disconnect con2;
connection default; connection default;
SET DEBUG_SYNC= 'RESET';
SET session lock_wait_timeout=default; SET session lock_wait_timeout=default;
set global innodb_adaptive_hash_index=on; set global innodb_adaptive_hash_index=on;
drop table t1,t2,t3; drop table t1,t2,t3;
...@@ -22,8 +22,8 @@ connection default; ...@@ -22,8 +22,8 @@ connection default;
InnoDB 0 transactions not purged InnoDB 0 transactions not purged
SET GLOBAL innodb_purge_rseg_truncate_frequency = @saved_frequency; SET GLOBAL innodb_purge_rseg_truncate_frequency = @saved_frequency;
SET DEBUG_SYNC = 'now SIGNAL finish_scan'; SET DEBUG_SYNC = 'now SIGNAL finish_scan';
SET DEBUG_SYNC = 'RESET';
connection con1; connection con1;
disconnect con1; disconnect con1;
connection default; connection default;
SET DEBUG_SYNC = 'RESET';
drop table t1; drop table t1;
...@@ -103,7 +103,6 @@ send set global innodb_adaptive_hash_index=off; ...@@ -103,7 +103,6 @@ send set global innodb_adaptive_hash_index=off;
connection default; connection default;
SET DEBUG_SYNC= 'now SIGNAL finish_scan'; SET DEBUG_SYNC= 'now SIGNAL finish_scan';
SET DEBUG_SYNC= 'RESET';
connection con1; connection con1;
reap; reap;
...@@ -114,6 +113,7 @@ reap; ...@@ -114,6 +113,7 @@ reap;
disconnect con2; disconnect con2;
connection default; connection default;
SET DEBUG_SYNC= 'RESET';
SET session lock_wait_timeout=default; SET session lock_wait_timeout=default;
set global innodb_adaptive_hash_index=on; set global innodb_adaptive_hash_index=on;
......
...@@ -55,12 +55,12 @@ echo $remaining transactions not purged; ...@@ -55,12 +55,12 @@ echo $remaining transactions not purged;
SET GLOBAL innodb_purge_rseg_truncate_frequency = @saved_frequency; SET GLOBAL innodb_purge_rseg_truncate_frequency = @saved_frequency;
SET DEBUG_SYNC = 'now SIGNAL finish_scan'; SET DEBUG_SYNC = 'now SIGNAL finish_scan';
SET DEBUG_SYNC = 'RESET';
connection con1; connection con1;
reap; reap;
disconnect con1; disconnect con1;
connection default; connection default;
SET DEBUG_SYNC = 'RESET';
drop table t1; drop table t1;
--source include/wait_until_count_sessions.inc --source include/wait_until_count_sessions.inc
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