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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user