diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-10-31 10:10:54 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-10-31 10:10:54 +0200 |
commit | a043617309f6335973c1bea36966b46e01adf94a (patch) | |
tree | 3dd7af870b61c8461aa5036f18dbb19a17015d5a | |
parent | b0ff791618d97487fb7515d3f785b37f46eba132 (diff) | |
download | mariadb-git-bb-10.5-shutdown.tar.gz |
Try to avoid a shutdown hangbb-10.5-shutdown
-rw-r--r-- | storage/innobase/fil/fil0fil.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/innobase/fil/fil0fil.cc b/storage/innobase/fil/fil0fil.cc index c515cd82c48..128d0da0d09 100644 --- a/storage/innobase/fil/fil0fil.cc +++ b/storage/innobase/fil/fil0fil.cc @@ -1342,14 +1342,15 @@ next: goto next; } mutex_exit(&fil_system.mutex); - os_thread_sleep(100); + os_thread_sleep(1000); + os_thread_yield(); mutex_enter(&fil_system.mutex); if (!node->is_open()) { goto next; } } - ib::error() << "File '" << node->name + ib::fatal() << "File '" << node->name << "' has " << space->referenced() << " operations"; } |