[MDEV-27946] 'Data structure corruption' IMPORT TABLESPACE doesn't work Created: 2022-02-25 Updated: 2023-03-03 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.6, 10.7 |
| Fix Version/s: | 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Pramod Mahto | Assignee: | Marko Mäkelä |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Following the steps provided here https://mariadb.com/kb/en/innodb-file-per-table-tablespaces/#copying-transportable-tablespaces for moving individual MariaDB tables to different disk/path lead to error :-
Test case
|
| Comments |
| Comment by Elena Stepanova [ 2022-02-25 ] | |||||||||||||||||||||||
|
Does it happen on anything more recent/stable than
? | |||||||||||||||||||||||
| Comment by Pramod Mahto [ 2022-02-25 ] | |||||||||||||||||||||||
|
elenst Yes Tested with below version as well. Server version: 10.6.7-MariaDB MariaDB Server --> Affected Server version: 10.7.3-MariaDB MariaDB Server --> Affected | |||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2022-02-28 ] | |||||||||||||||||||||||
|
pramod.mahto@mariadb.com, can you provide a copy of the files that fail to import? How and with which version of MariaDB were those files created in the first place? Does the table import with MariaDB Server 10.4.24 or 10.5.15? | |||||||||||||||||||||||
| Comment by Pramod Mahto [ 2022-02-28 ] | |||||||||||||||||||||||
|
marko I just simply created one table with in same version of MariaDB 10.6.X or 10.7.X and after discarding the tablespace , drop table , created same table with different path for tablespace and tried to import the tablespace to new location and it failed. Above test case represent the same.
|