1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

MDEV-31353 InnoDB recovery hangs after reporting corruption

recv_recover_page(): Remove some code which was added in
commit 0b47c126e3 with
no good reason and which would cause a hang after a corrupted
page was reported during crash recovery.

Tested by: Matthias Leich
This commit is contained in:
Marko Mäkelä
2023-05-31 15:20:54 +03:00
parent 30fb72ca6e
commit eb20e7c900

View File

@@ -3076,9 +3076,6 @@ set_start_lsn:
|| 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();