[MDEV-20415] InnoDB: error clustered record for sec rec not found Created: 2019-08-25 Updated: 2021-04-21 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.1.38 |
| Fix Version/s: | 10.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alessandro Vesely | Assignee: | Marko Mäkelä |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian stretch |
||
| Attachments: |
|
| Description |
|
I have an oldish version of mediawiki using database FFdb (fixforwarding.org), which apparently works, but I get lots of logs like the following: Aug 25 12:52:50 27 north mysqld: 2019-08-25 12:52:50 7f41a5899700 InnoDB: error clustered record for sec rec not found Is there anything I can/should do? TIA |
| Comments |
| Comment by Marko Mäkelä [ 2019-08-26 ] |
|
If there are FOREIGN KEY constraints involved with the involved columns, this could have been caused by the following: If not, this is yet another duplicate of the I have a gut feeling that innodb_adaptive_hash_index=ON (the default) in MySQL 5.6+ and MariaDB 10.0+ could cause corruption (we have debug builds crashing in MDEV-20203), but I am not sure if it could cause a secondary index to get out of sync with the clustered index. |
| Comment by Alessandro Vesely [ 2019-08-26 ] |
|
Mediawiki use a complicated database, which I don't know well. I have tried to reproduce the logs by executing the same HTTP queries found in the access.log at the time when mysqld log started, to no avail. BTW, no mysqld logs today. The latest was yesterday at midday. Now I have set general_log. I'll see if I can catch it by tomorrow. |
| Comment by Alessandro Vesely [ 2019-08-26 ] |
|
Got a log. It is somewhat longish and contains binary stuff from mediumblob fields. The corresponding daemon.log is similar to the one posted above, but not identical. I attach it too. daemon.log Meanwhile, I found a query to list FOREIGN KEY constraints, and it found none. So it should be similar to |
| Comment by Alessandro Vesely [ 2021-04-21 ] |
|
I just found now this old stuff. A few MariaDB and Mediawiki versions after, I see no more logs reported. Dunno what changed, but everything looks fine. I think this bug can be closed. |
| Comment by Alessandro Vesely [ 2021-04-21 ] |
|
I just found now this old stuff. A few MariaDB and Mediawiki versions after, I see no more logs reported. Dunno what changed, but everything looks fine. I think this bug can be closed. |