Comment 7 for bug 839306

Revision history for this message
Alexey Kopytov (akopytov) wrote : Re: Failing assertion: addr.page == FIL_NULL || addr.boffset >= FIL_PAGE_DATA

Hi Bob,

Thanks for clarifications. So the actual problem was that xtrabackup was using an incorrect InnoDB data files configuration.

When innobackupex is used to create backups, the server's innodb_data_file_path value is written to backup-my.cnf, but that file is not automatically used at prepare, it has to be specified explicitly via --defaults-file. And when innobackupex is not used, we simply don't have any information about data files configuration at prepare. Which causes problems like the one in this bug when there are multiple data files configured with innodb_data_file_path.

There is a blueprint targeting this specific problem: https://blueprints.launchpad.net/percona-xtrabackup/+spec/backup-config-in-xtrabackup

Until that BP is implemented, the workaround is to either use --defaults-file=backup-my.cnf (if that file is available), or specify innodb_data_file_path on the xtrabackup command line explicitly (when backup was taken without innobackupex) using the same value as it was on the server where the backup was taken.