• Marko Mäkelä's avatar
    Bug #12329920 ASSERT UT_ERROR IN SYNC_THREAD_LEVELS_NONEMPTY_TRX · 1ef8d5fc
    Marko Mäkelä authored
    SRV_CONC_FORCE_EXIT_INNODB
    
    This is a bogus UNIV_SYNC_DEBUG assertion failure that I introduced
    when introducing assertions for checking that InnoDB is not holding
    any mutexes or rw-locks when returning control to MySQL.
    
    srv_suspend_mysql_thread(): Release dict_operation_lock before
    invoking srv_conc_force_exit_innodb(), which would now check that the
    thread is not holding any mutexes or rw-locks.  After resuming, check
    sync_thread_levels_nonempty_trx() and do srv_conc_force_enter_innodb()
    before reacquiring the dict_operation_lock.
    
    rb:646 approved by Sunny Bains
    1ef8d5fc
srv0srv.c 92.4 KB