• Marko Mäkelä's avatar
    MDEV-24258 fixup: Throttle purge with exclusive dict_sys.latch · 46904424
    Marko Mäkelä authored
    A performance regression was observed after
    commit 82b7c561
    because purge tasks would end up waiting more elsewhere,
    most notably trx_purge_get_next_rec() and trx_purge_truncate_history().
    
    row_purge_parse_undo_rec(): Prevent the performance regression by
    unnecessarily acquiring dict_sys.latch in exclusive mode after the
    table lookup.
    46904424
row0purge.cc 35.7 KB