• Davi Arnaut's avatar
    Bug#28323: Server crashed in xid cache operations · ca53651d
    Davi Arnaut authored
    The problem was that the server did not robustly handle a
    unilateral roll back issued by the Resource Manager (RM)
    due to a resource deadlock within the transaction branch.
    By not acknowledging the roll back, the server (TM) would
    eventually corrupt the XA transaction state and crash.
    
    The solution is to mark the transaction as rollback-only
    if the RM indicates that it rolled back its branch of the
    transaction.
    ca53651d
sql_parse.cc 237 KB