• Thirunarayanan Balathandayuthapani's avatar
    MDEV-18025 Mariabackup fails to detect corrupted page_compressed=1 tables · 171271ed
    Thirunarayanan Balathandayuthapani authored
    Problem:
    =======
    Mariabackup seems to fail to verify the pages of compressed tables.
    The reason is that both fil_space_verify_crypt_checksum() and
    buf_page_is_corrupted() will skip the validation for compressed pages.
    
    Fix:
    ====
    Mariabackup should call fil_page_decompress() for compressed and encrypted
    compressed page. After that, call buf_page_is_corrupted() to
    check the page corruption.
    171271ed
encrypted_page_compressed.test 1.24 KB