• Shaohua Wang's avatar
    BUG#22530768 Innodb freeze running REPLACE statements · 79032a7a
    Shaohua Wang authored
    we can see from the hang stacktrace, srv_monitor_thread is blocked
    when getting log_sys::mutex, so that sync_arr_wake_threads_if_sema_free
    cannot get a change to break the mutex deadlock.
    
    The fix is simply removing any mutex wait in srv_monitor_thread.
    
    Patch is reviewed by Sunny over IM.
    79032a7a
buf0flu.c 65.7 KB