IMPORT TABLESPACE failed without cfg file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
In Progress
|
High
|
Vlad Lesin | ||
5.5 |
New
|
Undecided
|
Unassigned | ||
5.6 |
New
|
Undecided
|
Unassigned | ||
5.7 |
Won't Fix
|
High
|
Vlad Lesin |
Bug Description
[ERROR] InnoDB: Trying to access page number 1473773568 in space 28, space name test/testtable, which is outside the tablespace bounds. Byte offset 0, len 16384, i/o type read. If you get this error at mysqld startup, please check that your my.cnf matches the ibdata files that you have in the MySQL server.
mysqld process exists unexpectedly during ibd file import (created by xtrabackup:
ibbackup_version = 2.4.7
server_version = 5.7.18-14-log
)
#0 fil_report_
#1 0x0000000001c4cb55 in _fil_io (type=..., sync=true, page_id=..., page_size=..., byte_offset=0, len=16384, buf=0x7fffead94000, message=
#2 0x0000000001bebafc in buf_read_page_low (err=0x7ffff12c
#3 0x0000000001bec34a in buf_read_page (page_id=..., page_size=..., trx=0x0) at percona-
#4 0x0000000001bc21eb in buf_page_get_gen (page_id=..., page_size=..., rw_latch=1, guess=0x0, mode=10, file=0x2321e40 "percona-
#5 0x0000000001c2ff57 in dict_stats_
#6 0x0000000001c3068d in dict_stats_
#7 0x0000000001c311b1 in dict_stats_
#8 0x0000000001c31457 in dict_stats_
#9 0x0000000001c33110 in dict_stats_update (table=
#10 0x000000000193c80c in ha_innobase:
#11 0x0000000000fad6ee in handler:
#12 0x0000000001647688 in mysql_discard_
#13 0x00000000017b89f1 in Sql_cmd_
#14 0x00000000015b73dd in mysql_execute_
#15 0x00000000015b9644 in mysql_parse (thd=0x7fff8812
#16 0x00000000015add4a in dispatch_command (thd=0x7fff8812
#17 0x00000000015acb78 in do_command (thd=0x7fff8812
#18 0x00000000016e99e6 in handle_connection (arg=0x3b66d90) at percona-
#19 0x0000000001d603b5 in pfs_spawn_thread (arg=0x3bbbb00) at percona-
#20 0x00007ffff7bc06ca in start_thread () from /lib64/
#21 0x00007ffff65eff7f in clone () from /lib64/libc.so.6
The problem could be reproduced with both release and debug percona server 5.7.
With persistent statistics disabled import finishes without error, but after enabling persistent statistics back, exits with same error during analyze table.
I_S.*sys* tables shows identical results for both table loaded with .cfg and for table loaded with disabled persistent statistics:
select t.*,c.* from information_
At the same time load happens without any errors if cfg file is provided.
I'm not able to crash database with analyze table if it was loaded with cfg file.
The index causing crash is always the same, page number varies from run to run.
The issue always reproduced with specific ibd file, but disappears after ibd file rebuild.
Changed in percona-server: | |
status: | New → Confirmed |
tags: | added: upstream |
check i196447 for ibd and table structure file required for reproducing.