Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5.22, 10.11.5, 11.2.1
-
Linux 32-bit, reproducible on Debian 12 armhf and x86 releases.
Description
Mariadb reports a space/page mismatch and index corruption on 32-bit platforms when loading large InnoDB files. This started in the 10.5 series and is reproducible on each version I have tested since that series.
I tracked the issue down to a 32-bit truncation when the file offset is calculated in storage/innobase/buf/buf0rea.cc.
Casting this to os_offset_t solves the issue (patch attached).
On 64-bit platforms this calculation would naturally occur in a 64-bit register so it is not reproducible there.
Attachments
Issue Links
- is caused by
-
MDEV-23855 InnoDB log checkpointing causes regression for write-heavy OLTP
- Closed