[MDEV-23183] Infinite loop on page_validate() on corrupted page Created: 2020-07-15  Updated: 2020-07-15  Resolved: 2020-07-15

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.2
Fix Version/s: 10.2.33

Type: Bug Priority: Blocker
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: corruption, regression

Issue Links:
Problem/Incident
is caused by MDEV-22721 Remove bloat caused by InnoDB logger ... Closed

 Description   

MDEV-22721 inadvertently introduced an infinite loop to the function page_validate() for any code path that executes goto func_exit2. A necessary return statement was effectively deleted when the code was moved.

This would cause an infinite loop in the server when it encounters a corrupted page.



 Comments   
Comment by Marko Mäkelä [ 2020-07-15 ]

This affected the 10.2 branch only, but not any release. The merge to the 10.3 branch and later branches were not affected.

Generated at Thu Feb 08 09:20:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.