• sjaakola's avatar
    MDEV-24327 wsrep XID checkpointing order violation with cert failures · 41a961d8
    sjaakola authored
    Handling of write sets, which fail in certification happens differently than
    with write sets which pass certification. When certification fails, the
    write set applying can be skipped and applier needs only to take care of
    wsrep XID checkpointing. With current implementation, this can rush ahead
    of wsrep XID checkpointing of successful write sets.
    
    The fix in this PR registers wsrep XID checkpointing of certification failure cases in group commit,
    which guarantees that XID ceckpointing order is synchronized with real committing transactions.
    Reviewed-by: default avatarJan Lindström <jan.lindstrom@mariadb.com>
    41a961d8
wsrep_high_priority_service.cc 22.5 KB