• Teemu Ollakka's avatar
    MDEV-15740 Fix wsrep recovery with wsrep_emulate_bin_log · 4ea12839
    Teemu Ollakka authored
    If the TC log did not provide list of XIDs to recover, the
    commit by XID was skipped during wsrep recovery if binlog emulation
    was on. However, with wsrep we want to commit every prepared transaction
    with assigned wsrep XID since the transaction has already been
    committed in the cluster.
    
    Added a special condition to always proceed to commit by XID in
    xarecover_handlerton() if binlog is off and the recovered transaction
    has wsrep XID.
    4ea12839
handler.cc 194 KB