[MDEV-20578] Got error 126 when executing undo undo_key_delete upon Aria crash recovery Created: 2019-09-12 Updated: 2020-05-26 Resolved: 2020-05-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Aria |
| Affects Version/s: | 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.5.4, 10.2.33, 10.3.24, 10.4.14 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
The failure looks somewhat similar to
Attention: use the RQG branch as described below, it is tuned for reproducing the failure
|
| Comments |
| Comment by Elena Stepanova [ 2019-09-12 ] | ||||||||||||
|
On 10.5 built with S3, in addition to the above (which is still reproducible), the following assertion failure happens after the failed recovery:
| ||||||||||||
| Comment by Michael Widenius [ 2020-05-22 ] | ||||||||||||
|
The issue with S3 is fixed a long time ago (just checked). | ||||||||||||
| Comment by Elena Stepanova [ 2020-05-22 ] | ||||||||||||
|
An example of the datadir stored after the server was killed, before a recovery attempt was made: ftp://ftp.askmonty.org/public/mdev20578_data.tar.gz | ||||||||||||
| Comment by Michael Widenius [ 2020-05-26 ] | ||||||||||||
|
The crash happens in this scenario:
In the above scenario the table gets corrupted. The bug was that we don't generate any undo entry for the Fixed by moving the writing of the cache keys after we write |