• Marko Mäkelä's avatar
    MDEV-13797 InnoDB may hang if shutdown is initiated soon after startup while... · 6559ba71
    Marko Mäkelä authored
    MDEV-13797 InnoDB may hang if shutdown is initiated soon after startup while rolling back recovered incomplete transactions
    
    trx_rollback_resurrected(): If shutdown was initiated, fake all
    remaining active transactions to XA PREPARE state, so that shutdown
    can proceed. Also, make the parameter "all" an output that will be
    assigned to FALSE in this case.
    
    trx_rollback_or_clean_recovered(): Remove the shutdown check
    (it was moved to trx_rollback_resurrected()).
    
    trx_undo_free_prepared(): Relax assertions.
    6559ba71
trx0undo.cc 56 KB