• Nirbhay Choubey's avatar
    MDEV-9224 : Database lockup on flush in galera · fe4047dc
    Nirbhay Choubey authored
    A deadlock can occur when the wsrep applier thread while
    executing FLUSH TABLES waits for MDL lock owned by other
    local transactions, which in turn are waiting for commit
    order if their seqno comes after one assigned to FLUSH
    TABLES.
    Fixed by making sure that the wsrep applier thread while
    executing FLUSH TABLES does not wait for table share(s)
    to be removed from table definition cache.
    fe4047dc
sql_reload.cc 18.7 KB