[MDEV-22229] InnoDB: error clustered record for sec rec not found Created: 2020-04-13 Updated: 2020-06-22 Resolved: 2020-06-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Harald Hannelius | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I have gigabytes of syslog filled with this; Apr 13 07:02:06 penti mysqld[18227]: 2020-04-13 07:02:06 7fffd95a4700 InnoDB: error clustered record for sec rec not found |
| Comments |
| Comment by Marko Mäkelä [ 2020-04-14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Can you provide the SQL statements to reproduce the error? Can you at the very least provide the table schema (SHOW CREATE TABLE) and fill in the affected version of the server? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Harald Hannelius [ 2020-04-14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I'm purely guessing the SQL-command is the second to last line in the log?
Server version: 10.1.44-MariaDB-0+deb9u1 Debian 9.11 On Tue, 14 Apr 2020, Marko Mäkelä (Jira) wrote: – | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Harald Hannelius [ 2020-04-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It crashed again, starting to flood the logs. Happy I caught it this time,
There's something with wiki's objectcache-table? On Fri, 17 Apr 2020, Harald Hannelius wrote: – | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Harald Hannelius [ 2020-04-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I read this page; https://blog.ghost3k.net/articles/mysql/169/fixing-mysql-innodb-index-corruption And sure enough;
I'll follow up and see if this did it. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Harald Hannelius [ 2020-04-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
A bigger problem is that mysqld keeps pushing info into syslog with an incredible rate. The table is 9 MB on disk, this error produced 22 GB of errorlogs in syslog in just 24 hours (which I haven't still figured out how to disable on debian). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2020-05-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Do you still see table corruption warnings? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Harald Hannelius [ 2020-05-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
No warnings since. |