summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2019-09-27 17:46:10 +0530
committerMarko Mäkelä <marko.makela@mariadb.com>2019-09-27 17:46:10 +0530
commitc76873f23ddf4ba36bb14dd3415c3073c51875bf (patch)
treeb8d06a301ae7113cd7c430e89a2d94b16e6e85b7 /scripts
parentd874cdecccc4c4702e4e78bd551e72e99453021a (diff)
downloadmariadb-git-c76873f23ddf4ba36bb14dd3415c3073c51875bf.tar.gz
MDEV-20688 Recovery crashes after unnecessarily reading a corrupted page
The test encryption.innodb-redo-badkey was accidentally disabled until commit 23657a21018d0b3d0464bbd55236113ebcd3d4b7 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.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions