Restore table with ALTER IMPORT TABLESPACE fails with ERROR 1815 (HY000): Internal error: Cannot reset LSNs in table : Data structure corruption
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
New
|
Undecided
|
Unassigned |
Bug Description
I was restoring the data from percona xtrabackup then extracting individual table for restoring. Restore table with ALTER IMPORT TABLESPACE fails with ERROR 1815 (HY000): Internal error: Cannot reset LSNs in table : Data structure corruption
The table schema looks like
CREATE TABLE `test_table` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`id2` int(11) NOT NULL,
`key` char(40) NOT NULL,
`path` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uidx_key` (`id2`,
KEY `idx_key` (`key`),
KEY `idx_path` (`path`),
KEY `idx_id2` (`id2`),
CONSTRAINT `fk_1` FOREIGN KEY (`path`) REFERENCES `test2` (`id`) ON DELETE CASCADE,
CONSTRAINT `fk_id2` FOREIGN KEY (`id2`) REFERENCES `test3` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 |
We are running mysql 5.6.28 and innobackupex version 2.3.3.
Changed in percona-server: | |
status: | Incomplete → New |
Changed in percona-server: | |
status: | Incomplete → New |
Hi, can you please provide the steps to restore the backup. Kindly upload the xtrabackup restore log if it is still available. Did you change file permissions after restoring the backup?