Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-31256 fil_node_open_file() releases fil_system.mutex allowing ot…
…her thread to open its file node There is room between mutex_exit(&fil_system.mutex) and mutex_enter(&fil_system.mutex) calls in fil_node_open_file(). During this room another thread can open the node, and ut_ad(!node->is_open()) assertion in fil_node_open_file_low() can fail. The fix is not to open node if it was already opened by another thread.
- Loading branch information