Skip to content

Commit

Permalink
MDEV-31353 InnoDB recovery hangs after reporting corruption
Browse files Browse the repository at this point in the history
recv_recover_page(): Remove some code which was added in
commit 0b47c12 with
no good reason and which would cause a hang after a corrupted
page was reported during crash recovery.

Tested by: Matthias Leich
  • Loading branch information
dr-m committed May 31, 2023
1 parent 30fb72c commit eb20e7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions storage/innobase/log/log0recv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3076,9 +3076,6 @@ static buf_block_t *recv_recover_page(buf_block_t *block, mtr_t &mtr,
|| recv_sys.is_corrupt_log()) && !srv_force_recovery) {
if (init) {
init->created = false;
if (space || block->page.id().page_no()) {
block->page.lock.x_lock_recursive();
}
}

mtr.discard_modifications();
Expand Down

0 comments on commit eb20e7c

Please sign in to comment.