• Thirunarayanan Balathandayuthapani's avatar
    MDEV-15374 Server hangs and aborts with long semaphore wait or assertion `len... · 211842dd
    Thirunarayanan Balathandayuthapani authored
    MDEV-15374 Server hangs and aborts with long semaphore wait or assertion `len < ((ulint) srv_page_size)' fails in trx_undo_rec_copy upon ROLLBACK on temporary table
    
    Problem:
    =======
    InnoDB cleans all temporary undo logs during commit. During rollback
    of secondary index entry, InnoDB tries to build the previous version
    of clustered index. It leads to access of freed undo page during
    previous transaction commit and it leads to undo log corruption.
    
    Solution:
    =========
    During rollback, temporary undo logs should not try to build
    the previous version of the record.
    211842dd
row0umod.cc 38 KB