[MDEV-30715] upgrade from 10.3 -> 10.6 corrupts tables Created: 2023-02-23 Updated: 2023-05-02 Resolved: 2023-05-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Server |
| Affects Version/s: | 10.6.12 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Martijn Smidt | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 20.04.4 LTS \n \l |
||
| Attachments: |
|
| Description |
|
Hi, I have had several tries upgrading our 10.3.X machines to 10.6.12 but each time the tables end up being corrupted. It starts with showing a lot of these NOTE log lines for random databases and tables:
later it transistions into a spam of for about 2-3 seconds:
which leads to the corruption error:
then there's multiple database and table combinations which give the same error:
with more different errors:
It's a lot of logs lines and hope it's clear I changed database and tables names to keep them private. this specific upgrade was from 10.3.36+maria~ubu2004 to 10.6.12+maria~ubu2004 and was on a slave from a master with version: 10.3.36-MariaDB-1:10.3.36+maria~ubu2004-log we use innodb encryption with the file_key_management plugin my.cnf is attached |
| Comments |
| Comment by Marko Mäkelä [ 2023-03-27 ] |
|
Hi! I would suggest that you run mysqlcheck --extended (see I’d suspect that the corruption is related to encryption in some way. How many times was the server restarted before the corruption started to appear? Could you attach the complete server error log? The warning about being unable to close a file is most likely not directly related to the corruption. See |