Aria crash recovery failures
(MDEV-19813)
|
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | mariabackup, Storage Engine - Aria |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.2.30, 10.3.21, 10.4.11 |
| Type: | Technical task | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Vladislav Lesin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Note: see also
The backup dirs are here: backup_before_prepare_0 is the initial full backup To reproduce the failure, restore backup_0 to the datadir and run the server on it. All server default options are sufficient. If you have doubts about the correctness of prepare, you can run it on non-prepared backups. mariabackup logs from all stages are attached with hopefully self-explanatory names (mbackup*.log). I have no information yet whether it affects previous versions. Notes on the origin of the report Please be aware it's not necessarily reproducible the same way.
|
| Comments |
| Comment by Michael Widenius [ 2019-10-18 ] |
|
I checked the file backup_0.tar.gz The reason Aria recover fails is that there are not all Aria redo files in the backup. The only files that exists is: The undo fails when trying to revert test/t5. shell> /my/maria-10.4/storage/maria/aria_chk -dvv test/t5.MAI As can be seen in LSN, the last update to the file was for LSN 1,0x9d669e8, which is bigger than what the aria_log could support. Vlad, can you please verify that mariabackup copies ALL aria_log files! |
| Comment by Vladislav Lesin [ 2019-11-19 ] |
|
The problem is that aria_log* files are not copied on --prepare --incremental step from incremental to destination backup directory. See ibx_copy_incremental_over_full(). |