Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.11.3, 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL)
-
s390x arch, debian 12, 5.10.0-23-s390x kernel, 6.1.0-9-s390x kernel
Description
Upgrading from Debian 11 to Debian 12 yields an exception from which mariadb doesn't seem to recover from. This can reproduced with a clean installation and no data inserted whatsoever. It seems as if it has to do something with the InnoDB structure that was generated with version 10.5.19. I tested this with both Debian 11 (5.10.0.-23) and Debian 12 (6.1.0-9) kernels with both failing.
The only fix for this seems to be to delete /var/lib/mysql in its entirety and regenerate all of the data structures by starting up mariadb with an empty dir. From this point on the exception is gone and everything works as expected.
I attached the error log that comes up when /usr/sbin/mariadbd is started with version 10.11.3 with data generated from 10.5.19.
Attachments
Issue Links
- is duplicated by
-
MDEV-29617 MariaDB server crashes on startup after 10.9.3 on ARM
-
- Closed
-
- relates to
-
MDEV-14425 Change the InnoDB redo log format to reduce write amplification
-
- Closed
-
-
MDEV-28766 MDEV-28111 breaks innodb_flush_log_at_trx_commit=2
-
- Closed
-
Thanks for the bug report leo_.
In
MDEV-31529, I had some doubts as to the functional nature of uring on s390x. "Retry attempts for reading partial data failed" is also something that shouldn't occur. In the past uring faults have been partially filesystem related, what filesystem is the datadir on?As 10.5 didn't have liburing support, so its just the 10.6+ instances.
Can you attempt an upgrade with innodb_use_native_aio=0 is set, and see if this reoccurs?
This crash I think occurred before change in the datadir occurred so data may be still ok.