BUG#23312 - server hangs 'closing tables' with insert delayed,flush
tables,alter table Deadlock could happen if there are delayed insert + flush tables + alter table running concurrently. This is fixed by removing a redundant mutex lock when killing a delayed thread. sql/sql_insert.cc: Removed redundant delayed thread mutex lock, that could result in a deadlock. LOCK_delayed_insert is sufficient to be sure that no other thread frees delayed handler.
Showing
Please register or sign in to comment