Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.5.21, 10.3(EOL), 10.4(EOL), 10.6
-
None
Description
When wanting to do a selective restore of a backup taken with mariabackup DISCARD TABLESPACE / IMPORT TABLESPACE is used after preparing the backup with mariabackup --prepare --export
When having a SEQUENCE backed by an InnoDB table the related .ibd tablespace file can't be discarded though:
MariaDB [test]> alter table test_sequence discard tablespace;
|
ERROR 1031 (HY000): Storage engine SEQUENCE of the table `test`.`test_sequence` doesn't have this option
|
So there does not seem to be a way to restore such a sequence from a physical backup like mariabackup.
IMHO the SEQUENCE engine here should not just outright refuse such ALTER attempts, but pass them through to the underlying engine actually used for sequence storage.
Attachments
Issue Links
- relates to
-
MDEV-35144 CREATE TABLE ... LIKE uses current innodb_compression_default instead of the create value
-
- Closed
-
-
MDEV-10139 Support for SEQUENCE objects
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Affects Version/s | 10.3 [ 22126 ] | |
Affects Version/s | 10.4 [ 22408 ] | |
Affects Version/s | 10.6 [ 24028 ] |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] |
Assignee | Marko Mäkelä [ marko ] |
Assignee | Marko Mäkelä [ marko ] | Oleksandr Byelkin [ sanja ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Assignee | Oleksandr Byelkin [ sanja ] | Michael Widenius [ monty ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Zendesk Related Tickets | 201955 | |
Zendesk active tickets | 201955 |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Fix Version/s | 10.4 [ 22408 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Priority | Critical [ 2 ] | Blocker [ 1 ] |
Status | In Progress [ 3 ] | In Testing [ 10301 ] |
Assignee | Michael Widenius [ monty ] | Elena Stepanova [ elenst ] |
Assignee | Elena Stepanova [ elenst ] | Michael Widenius [ monty ] |
Status | In Testing [ 10301 ] | Stalled [ 10000 ] |
Link |
This issue relates to |
issue.field.resolutiondate | 2024-10-16 15:10:42.0 | 2024-10-16 15:10:41.969 |
Fix Version/s | 10.5.27 [ 29902 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.6.20 [ 29903 ] | |
Fix Version/s | 10.11.10 [ 29904 ] | |
Fix Version/s | 11.2.6 [ 29906 ] | |
Fix Version/s | 11.4.4 [ 29907 ] |