• Marko Mäkelä's avatar
    MDEV-30753 fixup: Unsafe buffer page restoration · c6e58a8d
    Marko Mäkelä authored
    trx_purge_free_segment(): The buffer-fix only prevents a block from
    being freed completely from the buffer pool, but it will not prevent
    the block from being evicted. Recheck the page identifier after
    acquiring an exclusive page latch. If it has changed, backtrack and
    invoke buf_page_get_gen() to look up the page normally.
    c6e58a8d
trx0purge.cc 36.2 KB