Commit a6310222 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-14082 Enforcing innodb_open_files leads to fil_system->mutex problem

fil_mutex_enter_and_prepare_for_io(): Reacquire fil_system->mutex after
failing to close a file and before retrying.
parent ad46ce65
......@@ -1218,6 +1218,7 @@ fil_mutex_enter_and_prepare_for_io(
fil_flush_file_spaces(FIL_TYPE_TABLESPACE);
count++;
mutex_enter(&fil_system->mutex);
continue;
}
}
......
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