[MDEV-19136] mysql_upgrade from mysql 5.7 to MariaDB 10.3.12 fails Created: 2019-04-02 Updated: 2021-05-24 Resolved: 2021-05-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.3.12 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Faisal Saeed (Inactive) | Assignee: | Marko Mäkelä |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
CentOS 7.4 |
||
| Issue Links: |
|
||||||||
| Description |
|
Upgrading MySQL 5.7 to MariaDB 10.3.12 completes but gives the following error messages upon server restart. "2019-02-12 14:49:39 0 [ERROR] InnoDB: Page [page id: space=76, page number=813] log sequence number 42628278 is in the future! Current system log sequence number 2433657. 2019-02-12 14:49:39 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery." Process: |
| Comments |
| Comment by Elena Stepanova [ 2019-04-02 ] |
|
We have quite a few reports with this error, not even necessarily upgrade. I can't tell if all of them have the same root cause or not, leaving it to marko to decide. |
| Comment by Marko Mäkelä [ 2021-04-26 ] |
|
A known source of incompatibility between MySQL 5.7 and MariaDB 10.2 or later MariaDB Server 10.3 introduced more undo log format changes ( The message in the description does not match these symptoms, unless innodb_undo_tablespaces resides between 76 and 128. I would need a complete test case (starting from installing the MYSQL 5.7 server and loading the database with some data) in order to be able to diagnose this. |