MDEV-24258 fixup: Throttle purge with exclusive dict_sys.latch
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.
Showing
Please register or sign in to comment