[MDEV-31156] Innodb unrepairable table with innodb_encrypt_tables Created: 2023-04-30 Updated: 2023-08-18 Resolved: 2023-08-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Plugin - AWS key management, Storage Engine - InnoDB |
| Affects Version/s: | 10.6.12, 10.6.14 |
| Fix Version/s: | 10.6.15, 10.9.8, 10.10.6, 10.11.5, 11.0.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | bulepage | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
unbuntu 20.04 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
We have master-salve replication with table encryption and with aws-key-management plugin On the master :
on the slave:
First we got this messages : After this the server crashed with this error message
Atfer start up [ERROR] InnoDB: Cannot decrypt [page id: space=2890523, page number=384] and another time: [Warning] InnoDB: 16384 bytes should have been read at 1174798336 from ./database/table.ibd, but got only 0. Retrying. After this the table was corrupted, can't acess, alter, can't repair table. Our solution is on the slave (after reload databse from master) : |
| Comments |
| Comment by bulepage [ 2023-05-04 ] | ||||
|
After few days quiet running, again on the slave: 2023-05-02 2:05:26 7 [Note] InnoDB: Cannot close file ./database/table1.ibd because of pending fsync | ||||
| Comment by Sergei Golubchik [ 2023-06-06 ] | ||||
|
A combination of
was also observed in | ||||
| Comment by Elena Stepanova [ 2023-07-09 ] | ||||
|
As a comment above says, the possibly related | ||||
| Comment by bulepage [ 2023-08-18 ] | ||||
|
After upgrade to 10.6.15 only we got notice I think the problem is solved. |