• Marko Mäkelä's avatar
    MDEV-26465 Race condition in trx_purge_rseg_get_next_history_log() · c0a84fb9
    Marko Mäkelä authored
    trx_purge_rseg_get_next_history_log(): Fix a race condition that
    was introduced in commit e46f76c9
    (MDEV-15912). The buffer pool page contents must not be accessed
    while not holding a page latch. The page latch was released by
    mtr_t::commit().
    
    This race resulted in an ASAN heap-use-after-poison during a stress test.
    c0a84fb9
trx0purge.cc 44.8 KB