[MDEV-21726] Index corruption after 10.4 upgrade Created: 2020-02-13 Updated: 2020-03-12 Resolved: 2020-03-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.4.12 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | O | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | corruption, need_feedback, regression | ||
| Environment: |
Debian buster |
||
| Issue Links: |
|
||||||||
| Description |
|
Hi, done an upgrade of MariaDB Server from 10.3.21 to 10.4.12, and encountered the following errors after replication process restarted: 2020-02-10 16:00:27 4 [ERROR] InnoDB: Unable to find a record to delete-mark InnoDB: record PHYSICAL RECORD: n_fields 3; compact format; info bits 0 Actually, a workaround is to optimize all tables on all schemas between (10.3 restore and 10.4 upgrade process) and (replication restart, or any other first transaction after restart of the instance) First time having this strange behaviour after doing lots of server migrations, case reproduced on others servers with the same OS and DB setup Thanks |
| Comments |
| Comment by Marko Mäkelä [ 2020-02-13 ] | ||
|
This type of corruption was originally reported in
Note: This does not look like the We have been unable to reproduce this type of errors, despite significant efforts in the past. A copy of a corrupted data directory would likely not help analyze it; we’d need a complete stream of SQL statements that would create and populate all tables and reproduce the error with some reasonable probability. | ||
| Comment by O [ 2020-02-13 ] | ||
|
Thanks Marko for your quick answer, i'm taking a look to this new setup and trying to reproduce (or not) this bug |