Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5, 10.6, 10.11, 11.2(EOL), 11.4
-
None
Description
Innochecksum wrongly reports the freed undo log as exisitng undo log pages. This gives wrong sense about undo log pages
are not being freed. To fix this issue, we introduce a new command line option
innochecksum --skip-freed-pages
|
or short option -r which makes innochecksum consult extent descriptor page and skip further analysis of pages that are marked as freed.
Because we can’t trust the contents of FIL_PAGE_TYPE in old InnoDB system tablespaces, I think that this logic needs to be enabled for all pages, enabled by some command line option of innochecksum, which instructs it to not report page statistics for pages that have been marked as freed.
I would also suggest another option for validating the page number and tablespace ID inside those data pages that are not filled with NUL bytes, unless such logic already exists.