[MDEV-29082] InnoDB: Failing assertion: !cursor->index->is_committed() Created: 2022-07-11 Updated: 2022-08-01 Resolved: 2022-08-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5.16 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Rolf Eike Beer | Assignee: | Marko Mäkelä |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | corruption, crash | ||
| Environment: |
openSUSE 15.3, database is run as akonadi mail storage |
||
| Issue Links: |
|
||||||||||||||||
| Description |
|
|
| Comments |
| Comment by Marko Mäkelä [ 2022-07-14 ] | |||||||||||||||
|
Thank you for the report. Such errors often affect indexed virtual columns. I do not see any obvious use of indexed virtual columns in the table definition. If the PimItemTable_gidIndex were a UNIQUE key, it could use a virtual column ( Thus, the most likely explanation would be an elusive bug in the InnoDB change buffer that we have been unable to reproduce, and thus analyze and fix. The change buffer was disabled by default some time ago in
I see that this server-crashing assertion was not replaced with some less intrusive error handling in | |||||||||||||||
| Comment by Rolf Eike Beer [ 2022-07-19 ] | |||||||||||||||
|
Thanks, this has helped. After doing your commands it crashed on a second table, but I was able to fix that with the same commands. The other affected table was this:
| |||||||||||||||
| Comment by Marko Mäkelä [ 2022-07-25 ] | |||||||||||||||
|
While we could dismiss this bug as something that was caused by the known but irreproducible bug in the change buffer, the bug Dakon, can you please try to clarify the history of the database?
| |||||||||||||||
| Comment by Rolf Eike Beer [ 2022-07-25 ] | |||||||||||||||
|
I can't tell exactly when this database was created, but the oldest thing I found in the mysql.err.old is this:
I don't think Akonadi uses Galera for anything. The files were never restored from backup or similar, at most the LVM volume was moved from a different host. | |||||||||||||||
| Comment by Marko Mäkelä [ 2022-08-01 ] | |||||||||||||||
|
Dakon, thank you. If crash recovery or xtrabackup or file system snapshot based copying was ever used on MySQL 5.7, this corruption could have been caused by the race condition that was fixed in MariaDB in I think that |