diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2019-09-27 17:46:10 +0530 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-09-27 17:46:10 +0530 |
commit | c76873f23ddf4ba36bb14dd3415c3073c51875bf (patch) | |
tree | b8d06a301ae7113cd7c430e89a2d94b16e6e85b7 /scripts/mysqld_multi.sh | |
parent | d874cdecccc4c4702e4e78bd551e72e99453021a (diff) | |
download | mariadb-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/mysqld_multi.sh')
0 files changed, 0 insertions, 0 deletions