• Teemu Ollakka's avatar
    MDEV-27317 wsrep_checkpoint order violation due to certification failure · cadc3efc
    Teemu Ollakka authored
    With binlogs enabled, debug assertion ut_ad(xid_seqno > wsrep_seqno)
    fired in trx_rseg_update_wsrep_checkpoint() when an applier thread
    synced the seqno out of order for write set which had failed
    certification. This was caused by releasing commit
    order too early when binlogs were on, allowing group
    commit to run in parallel and commit following transactions
    too early.
    
    Fixed by extending the commit order critical section to cover
    call to wsrep_set_SE_checkpoint() also when binlogs are on.
    Signed-off-by: default avatarJulius Goryavsky <julius.goryavsky@mariadb.com>
    cadc3efc
wsrep_high_priority_service.cc 24.4 KB