• Thirunarayanan Balathandayuthapani's avatar
    MDEV-21572 buf_page_get_gen() should apply buffered page initialized · 6697135c
    Thirunarayanan Balathandayuthapani authored
    		redo log during recovery
    
    - InnoDB unnecessarily reads the page even though it has fully initialized
    buffered redo log records. Allow the page initialization redo log to
    apply for the page in buf_page_get_gen() during recovery.
    - Renamed buf_page_get_gen() to buf_page_get_low()
    - Newly added buf_page_get_gen() will check for buffered redo log for
    the particular page id during recovery
    - Added new function buf_page_mtr_lock() which basically latches the page
    for the given latch type.
    - recv_recovery_create_page() is inline function which creates a page
    if it has page initialization redo log records.
    6697135c
buf0buf.cc 203 KB