assertion failure while trying to read InnoDB partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
High
|
Alexey Kopytov | ||
1.6 |
Won't Fix
|
High
|
Alexey Kopytov | ||
2.0 |
Fix Released
|
High
|
Alexey Kopytov | ||
2.1 |
Fix Released
|
High
|
Alexey Kopytov |
Bug Description
I am consistently getting the following error when trying to backup a partitioned InnoDB table. InnoDB is configured with file_per_table. The particular partition on which the read fails varies. There does not seem to be file corruption since I can stop/restart the database without problem and InnoDB itself reports no problems with the table. It is a large table with ~500 partitions.
InnoDB: Error: tried to read 1048576 bytes at offset 1 60817408.
InnoDB: Was only able to read 0.
InnoDB: Fatal error: cannot read from file. OS error number 17.
111007 0:09:02 InnoDB: Assertion failure in thread 140202726008576 in file os/os0file.c line 2460
InnoDB: We intentionally generate a memory trap.
System configuration is as follows:
Ubuntu Linux 10.04 LTS kernel 2.6.32-25-server x86_64
MySQL Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (x86_64) using readline 6.1
InnoDB Plugin version 1.0.5
xtrabackup version 1.6.3 for Percona Server 5.1.55 unknown-linux-gnu (x86_64) (revision id: undefined)
xtrabackup is invoked with 16 parallel threads.
Related branches
- Sergei Glushchenko (community): Approve (g2)
-
Diff: 71 lines (+34/-20)2 files modifiedsrc/xtrabackup.cc (+16/-20)
test/t/bug870119.sh (+18/-0)
- Sergei Glushchenko (community): Approve (g2)
-
Diff: 76 lines (+37/-23)2 files modifiedsrc/fil_cur.cc (+19/-23)
test/t/bug870119.sh (+18/-0)
Changed in percona-xtrabackup: | |
assignee: | nobody → Valentine Gostev (longbow) |
Changed in percona-xtrabackup: | |
importance: | Undecided → High |
I think this bug may be related to threading in xtrabackup. I changed my script to only use 1 thread for xtrabackup and it has completed successfully for several days now, with no assertion failures.