Skip to content

Commit a631022

Browse files
committed
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.
1 parent ad46ce6 commit a631022

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/innobase/fil/fil0fil.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,7 @@ fil_mutex_enter_and_prepare_for_io(
12181218
fil_flush_file_spaces(FIL_TYPE_TABLESPACE);
12191219

12201220
count++;
1221+
mutex_enter(&fil_system->mutex);
12211222
continue;
12221223
}
12231224
}

0 commit comments

Comments
 (0)