Commit a5b39825 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-25613 assertion (file_system.n_open > 0) failed

Remove operations on fil_system.n_open from mariabackup, as they are not
protected by the mutex, and serve no higher purpose anyway.
parent d44a10f4
...@@ -108,9 +108,6 @@ xb_fil_node_close_file( ...@@ -108,9 +108,6 @@ xb_fil_node_close_file(
node->handle = OS_FILE_CLOSED; node->handle = OS_FILE_CLOSED;
mutex_exit(&fil_system.mutex); mutex_exit(&fil_system.mutex);
ut_a(fil_system.n_open > 0);
fil_system.n_open--;
} }
/************************************************************************ /************************************************************************
...@@ -169,8 +166,6 @@ xb_fil_cur_open( ...@@ -169,8 +166,6 @@ xb_fil_cur_open(
return(XB_FIL_CUR_SKIP); return(XB_FIL_CUR_SKIP);
} }
fil_system.n_open++;
} }
ut_ad(node->is_open()); ut_ad(node->is_open());
......
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