• Marko Mäkelä's avatar
    MDEV-20813 Assertion failure in buf_flush_init_for_writing() for... · 361e8284
    Marko Mäkelä authored
    MDEV-20813 Assertion failure in buf_flush_init_for_writing() for innodb_immediate_scrub_data_uncompressed=ON
    
    The assertion that was added in
    commit c0c003be
    to augment the fix of MDEV-20805 turns out to be invalid when
    innodb_immediate_scrub_data_uncompressed is enabled.
    In this mode, fsp_init_file_page() will be invoked on data pages
    that have been freed, causing writes of almost-all-zero pages.
    
    btr_page_free(): Adjust the comment.
    
    buf_flush_init_for_writing(): Disable the assertion with a note
    that it should be re-enabled in MDEV-15528.
    361e8284
btr0btr.cc 151 KB