• Marko Mäkelä's avatar
    MDEV-30657 InnoDB: Not applying UNDO_APPEND due to corruption · 5300c0fb
    Marko Mäkelä authored
    This almost completely reverts
    commit acd23da4 and
    retains a safe optimization:
    
    recv_sys_t::parse(): Remove any old redo log records for the
    truncated tablespace, to free up memory earlier.
    If recovery consists of multiple batches, then recv_sys_t::apply()
    will must invoke recv_sys_t::trim() again to avoid wrongly
    applying old log records to an already truncated undo tablespace.
    5300c0fb
log0recv.h 14.8 KB