• Jan Lindström's avatar
    MDEV-30217 : Assertion `mode_ == m_local || transaction_.is_streaming()'... · 076df87b
    Jan Lindström authored
    
    MDEV-30217 : Assertion `mode_ == m_local || transaction_.is_streaming()' failed in int wsrep::client_state::bf_abort(wsrep::seqno)
    
    Problem was that brute force (BF) thread requested conflicting lock
    and was trying to kill victim transaction, but this victim
    was also brute force thread. However, this victim was not actually
    holding conflicting lock, instead both brute force transaction
    and victim transaction were had insert intention locks.
    We should not kill brute force victim transaction if requesting
    lock does not need to wait.
    Signed-off-by: default avatarJulius Goryavsky <julius.goryavsky@mariadb.com>
    076df87b
lock0lock.cc 209 KB