Assertion failure occurs when trying to run xtrabackup_51 apply log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Invalid
|
Medium
|
Unassigned | ||
2.0 |
Won't Fix
|
Medium
|
Unassigned | ||
2.1 |
Invalid
|
Medium
|
Unassigned |
Bug Description
Took a backup using the following command:
innobackupex-1.5.1 --stream=tar /mysqldb/data --user=root --password=password --slave-info | nc backupHost 10000
Then when I attempted to use xtrabackup_51 to apply-log-only I got an Assertion failure:
Running apply-log with command: xtrabackup_51 --prepare --apply-log-only --target-
Error: There was an error applying logs - The process returned code 134. The output from the apply log process is as follows:
xtrabackup: cd to /data/backups/
xtrabackup: This target seems to be not prepared yet.
xtrabackup: Temporary instance for recovery is set as followings.
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: Starting InnoDB instance for recovery.
xtrabackup: Using 104857600 bytes for buffer pool (set by --use-memory parameter)
InnoDB: The InnoDB memory heap is disabled
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
110322 21:10:11 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
110322 21:10:30 InnoDB: Assertion failure in thread 47127742904576 in file btr/btr0pcur.c line 402
InnoDB: Failing assertion: btr_page_
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://
InnoDB: about forcing recovery.
xtrabackup_51 Ver 1.4 Rev 193 for 5.1.42 unknown-linux-gnu (x86_64)
xtrabackup: xtrabackup_logfile detected: size=2097152, start_lsn=(4881 3598676457)
sh: line 1: 6521 Aborted xtrabackup_51 --prepare --apply-log-only --target-
Not sure why this occurs??
tags: | added: cr15286 |
tags: |
added: cr i15286 removed: cr15286 |
Changed in percona-xtrabackup: | |
assignee: | nobody → Valentine Gostev (longbow) |
Changed in percona-xtrabackup: | |
status: | New → Opinion |
As we discussed the crash does not happen with 'xtrabackup' binary.
we think it is related to bug in recovery logic in built-in InnoDB/5.1
Corresponding bug is bugs.mysql. com/bug. php?id= 60613
http://