• Thirunarayanan Balathandayuthapani's avatar
    MDEV-22970 Possible corruption of page_compressed tables, or · c8936686
    Thirunarayanan Balathandayuthapani authored
               when scrubbing is enabled
    
    buf_read_recv_pages(): Ignore the page to read if it is already
    present in the freed ranges.
    
    store_freed_or_init_rec(): Store the ranges only if scrubbing
    is enabled or page compressed tablespace.
    
    recv_init_crash_recovery_space(): Add the freed range only when
    scrubbing or page compressed tablespace.
    
    range_set::contains(): Search the value is present in ranges.
    
    range_set::remove_if_exists(): Remove the value if exist in ranges.
    
    mtr_t::init(): Handles the scenario that mini-transaction may allocate
    a page that had just been freed.
    
    recv_sys_t::parse(): Note down the FREE and INIT redo log irrespective
    of STORE value.
    
    Removed innodb_tablespaces_scrubbing from test case
    c8936686
mtr0log.h 20.9 KB