diff --git a/storage/innobase/fil/fil0fil.cc b/storage/innobase/fil/fil0fil.cc index 65e006c39bc..e5fd1dffe5a 100644 --- a/storage/innobase/fil/fil0fil.cc +++ b/storage/innobase/fil/fil0fil.cc @@ -3458,10 +3458,14 @@ func_exit: retry */ sleep = true; + space->stop_ios = false; + } else if (node->modification_counter > node->flush_counter) { /* Flush the space */ sleep = flush = true; + space->stop_ios = false; + } else if (node->is_open) { /* Close the file */