[MDEV-23394] mariadb --prepare --export fails with "Upgrade after crash is not supported" and error 11 Created: 2020-08-04 Updated: 2023-12-14 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | mariabackup |
| Affects Version/s: | 10.4.13, 10.5.4 |
| Fix Version/s: | 10.5, 10.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Allen Lee (Inactive) | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 5 |
| Labels: | None | ||
| Environment: |
Ubuntu 20.04 |
||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Customer reported following error when they tried to restore databases to a mariadb installation with version 10.5.4 installed with a backup taken from an instance running 10.4.13.
|
| Comments |
| Comment by Elena Stepanova [ 2020-08-04 ] |
|
I don't know whether it could ever work – as the message says, crash upgrade 10.4=>10.5 is not supported, and if mariabackup restoration is basically a crash upgrade scenario, it will be forbidden as well. Assigning to vlad.lesin for an expert opinion. |
| Comment by Jeremy Lachevre [ 2020-12-14 ] |
|
Hello, Could you give us a feedback on that worrying situation ? Thanks, see attached traces: |
| Comment by Christophe Lafaille (ASN - Nokia) [ 2021-05-31 ] |
|
Hi, if I well understand : if an application use MariaDB 10.4.x (running RHEL7.x), it'll be never possible to upgrade to a 10.5 or 10.6 version (running RHEL8.x)... It's totally restrictive and very strange for MariaDB... this kind of problem doesn't exist with MySQL ==> so, the solution seems to use MySQL ! Regards |
| Comment by Christophe Lafaille (ASN - Nokia) [ 2021-12-21 ] |
|
Hi, is it planned to be corrected or not (the problem is logged since 20 months ) ? The problem is also traced on reddit ( https://www.reddit.com/r/unRAID/comments/pbtumq/problems_with_mariadb_after_update_any_ideas/ ), I've added a link to this JIRA on the reddit page. I think it's important to indicate on your site that MariaDB is only a "one version server"... if you use 10.4, you're blocked on this version (migration to upper version is not possible). In 2024, 10.4 support will be stopped... so, we have 2 years for a correction or to replace mariadb by another database. |
| Comment by Jeremy Lachevre [ 2021-12-21 ] |
|
I have exactly the same bug than Mr Lafaille. Nokia for which we are part uses many Mariadb products so I don't understand why that bug is not resolved yet. |
| Comment by Naresh Chandra [ 2022-01-17 ] |
|
Even we are also also facing the issue as we are trying to upgrade from 10.4.22 to 10.5.13. Please find the error details. [root@test301]# /usr/bin/mariabackup --prepare --target-dir=/db/backup/full_backup_01172021 |
| Comment by Jeremy Lachevre [ 2022-08-03 ] |
|
What's news about bug ... |
| Comment by Marko Mäkelä [ 2023-12-14 ] |
|
Backups are supposed to be prepared using the same major version of the backup as the originating server. The InnoDB redo log record format and all code related to it was changed in 10.5 ( The error message and the documentation could perhaps be clarified. The bug title incorrectly mentioned "signal 11" a.k.a. SIGSEGV. I only see an "error 11" in the posted output, which is something completely different. |