If multiple data files and innodb_data_file_path is used but not explicitly set on prepare, can hit assertion in --prepare
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Hrvoje Matijakovic |
Bug Description
When innobackupex is used to create backups, the server's innodb_
There is a blueprint targeting this specific problem: https:/
Until that BP is implemented, the workaround is to either use --defaults-
When runing the prepare command line, it will ran into a "Failing assertion".
$ ~/local/
/export/
xtrabackup: cd to /data/backup/
xtrabackup: This target seems to be not prepared yet.
110901 22:58:41 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
xtrabackup: Warning: cannot open ./xtrabackup_
xtrabackup: 'ib_logfile0' seems to be 'xtrabackup_
xtrabackup: xtrabackup_logfile detected: size=6089359360, start_lsn=
xtrabackup: Temporary instance for recovery is set as followings.
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
110901 22:58:42 InnoDB: Using Linux native AIO
xtrabackup: Starting InnoDB instance for recovery.
xtrabackup: Using 104857600 bytes for buffer pool (set by --use-memory parameter)
110901 22:58:42 InnoDB: The InnoDB memory heap is disabled
110901 22:58:42 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110901 22:58:42 InnoDB: Compressed tables use zlib 1.2.3
110901 22:58:42 InnoDB: Using Linux native AIO
110901 22:58:42 InnoDB: Warning: innodb_
110901 22:58:42 InnoDB: Initializing buffer pool, size = 100.0M
110901 22:58:42 InnoDB: Completed initialization of buffer pool
110901 22:58:42 InnoDB: highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 1336207695220
110901 22:58:42 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Doing recovery: scanned up to log sequence number 1336212937728 (0 %)
InnoDB: Doing recovery: scanned up to log sequence number 1336218180608 (0 %)
InnoDB: Doing recovery: scanned up to log sequence number 1336223423488 (0 %)
InnoDB: Doing recovery: scanned up to log sequence number 1336228666368 (0 %)
InnoDB: Doing recovery: scanned up to log sequence number 1336233909248 (0 %)
InnoDB: Doing recovery: scanned up to log sequence number 1336234756658 (0 %)
110901 22:58:52 InnoDB: Assertion failure in thread 47344695498128 in file /home/buildbot/
InnoDB: Failing assertion: addr.page == FIL_NULL || addr.boffset >= FIL_PAGE_DATA
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.
Aborted
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 241 lines (+60/-44)6 files modifieddoc/source/innobackupex/innobackupex_option_reference.rst (+6/-6)
doc/source/installation/apt_repo.rst (+1/-5)
doc/source/installation/compiling_xtrabackup.rst (+17/-1)
doc/source/xtrabackup_bin/preparing_the_backup.rst (+4/-0)
doc/source/xtrabackup_bin/xbk_option_reference.rst (+31/-31)
utils/build.sh (+1/-1)
- Alexey Kopytov (community): Approve
-
Diff: 240 lines (+59/-44)6 files modifieddoc/source/innobackupex/innobackupex_option_reference.rst (+6/-6)
doc/source/installation/apt_repo.rst (+1/-5)
doc/source/installation/compiling_xtrabackup.rst (+16/-1)
doc/source/xtrabackup_bin/preparing_the_backup.rst (+4/-0)
doc/source/xtrabackup_bin/xbk_option_reference.rst (+31/-31)
utils/build.sh (+1/-1)
Changed in percona-xtrabackup: | |
importance: | Undecided → Medium |
summary: |
- Failing assertion: addr.page == FIL_NULL || addr.boffset >= - FIL_PAGE_DATA + If multiple data files and innodb_data_file_path is used but not + explicitly set on prepare, can hit assertion in --prepare |
description: | updated |
Changed in percona-xtrabackup: | |
status: | Confirmed → Triaged |
Changed in percona-xtrabackup: | |
status: | Triaged → Fix Committed |
Changed in percona-xtrabackup: | |
status: | Fix Committed → Fix Released |
Dreas van Donselaar reported a similar bug on 2010-10-16. But it was cancelled as it's not a repeatable case. /bugs.launchpad .net/percona- server/ +bug/661828
https:/
When we're using Xtrabackup, we ran into the same bug. According to the GDB output, the problem happened in function call trx_undo_ mem_create_ at_db_start. I guess it's related with the undo tablespace in ibdata1.