• Thirunarayanan Balathandayuthapani's avatar
    MDEV-20688 Recovery crashes after unnecessarily reading a corrupted page · c76873f2
    Thirunarayanan Balathandayuthapani authored
    The test encryption.innodb-redo-badkey was accidentally disabled
    until commit 23657a21 enabled
    it recently. Once it was enabled, it started failing randomly.
    
    recv_recover_corrupt_page(): Do not assume that any redo log exists
    for the page. A page may be unnecessarily read by read-ahead.
    When noting the corruption, reset recv_addr->state to RECV_PROCESSED,
    so that even if the same page is re-read again, we will only
    decrement recv_sys->n_addrs once.
    c76873f2
innodb-redo-badkey.result 2.46 KB