• Shaohua Wang's avatar
    BUG#22530768 Innodb freeze running REPLACE statements · 93a6142d
    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.
    93a6142d
srv0srv.c 96.4 KB