[MDEV-27949] [crash] Unable to find a record to delete-mark Created: 2022-02-25 Updated: 2023-08-07 Resolved: 2023-08-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5.12 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | RobJE | Assignee: | Marko Mäkelä |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | crash, innodb | ||
| Environment: |
Debian Bullseye on Kobol Helios4 MariaDB 1:10.5.12-0+deb11u1 armhf |
||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
This morning mysql crashed with error below. Feb 25 01:49:56 ains mysqld: 2022-02-25 1:49:56 0 [ERROR] InnoDB: Unable to find a record to delete-mark any attempt to interact with this specific database table after that failed. restarting only made things worse, as the process crashes with signal 11. part of restart log below. Feb 25 08:32:10 ains mysqld: 2022-02-25 8:32:10 0 [ERROR] InnoDB: Unable to decompress ./nextcloud/oc_filecache.ibd[page id: space=242, page number=447] What is needed to resolve this issue and have mariadb (and as a result nextcloud) online again? |
| Comments |
| Comment by Michael Widenius [ 2022-02-25 ] |
|
How was the database created? What it means is that somehow your data on disk is "logically faulty".
The error: Indicates that a block on disk is wrong. If this is a virtual disk, I would suspect that there is a bug in the To fix the issue, you can try to do a mysqldump of all tables and restore them on another system/directory. |
| Comment by RobJE [ 2022-02-25 ] |
|
the message "unable to decompress" is after the first crash at Feb 25 01:49:56. Initial crash message is the first 12 lines in the attached log. This database has been "running" on this physical machine for quite some time (over a year). Though hard to completely exclude faulty disk or memory are IMO not the cause.
That leafs faulty configuration (although not touched for week/months) or a bug in InnoDB |
| Comment by RobJE [ 2022-02-26 ] |
|
removing ./nextcloud/oc_filecache.ibd file allowed mariadb to start. Still interested what caused the initial error and crash |
| Comment by Marko Mäkelä [ 2022-11-02 ] |
|
I believe that What would be highly interesting to me is how to reproduce the corruption of the change buffer (InnoDB: Unable to find a record to delete-mark). It could be specific to ROW_FORMAT=COMPRESSED, like the subsequent crash definitely was. |
| Comment by Marko Mäkelä [ 2023-05-08 ] |
|
In Would recent versions of MariaDB Server 10.6 avoid the crash? |
| Comment by Marko Mäkelä [ 2023-06-28 ] |
|
robje, let me try to clarify what sort of feedback I am requesting. Before In the attached log file mariadb_crash.txt The log records in Description might actually be a sign of two bugs: a bug in the InnoDB change buffer (see |
| Comment by RobJE [ 2023-06-28 ] |
|
I'm not sure I can help with this. MariaDB was moved to a virtual-machine on Intel and upgraded to a later MariaDB version. All the logs that were there were included in this bug. The crash happened once. Not sure how reproducible this crash was/is. |
| Comment by Sergei Golubchik [ 2023-07-08 ] |
|
robje, thanks. Then let's do the following: we'll keep this bug open for a month, if you experience another crash — please, add a comment with the info, may be even you'll have the logs. After a month we'll close it, in the assumption that the latest MariaDB version has this crash fixed. But nevertheless, if you experience another crash — add a comment and we'll reopen the issue again. |