XtraBackup 2.0.2 is not backwards compatible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
High
|
Sergei Glushchenko | ||
2.0 |
Fix Released
|
High
|
Sergei Glushchenko | ||
2.1 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
When restoring a backup that was made with version 2.0.1 using the new version 2.0.2, it fails on incrementals.
xtrabackup_55 version 2.0.2 for Percona Server 5.5.16 Linux (x86_64) (revision id: undefined)
incremental backup from 28608289930 is enabled.
xtrabackup: cd to /restore/
xtrabackup: xtrabackup_logfile detected: size=2097152, start_lsn=
xtrabackup: Temporary instance for recovery is set as followings.
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
120817 10:04:56 InnoDB: Using Linux native AIO
120817 10:04:56 InnoDB: Warning: allocated tablespace 1675, old maximum was 9
xtrabackup: Error: xtrabackup_
After downgrading Xtrabackup, it restores fine.
Related branches
- Alexey Kopytov (community): Approve
- Laurynas Biveinis (community): Approve
-
Diff: 125 lines (+70/-8)2 files modifiedsrc/xtrabackup.c (+29/-8)
test/t/bug1038127.sh (+41/-0)
- Laurynas Biveinis (community): Approve
-
Diff: 125 lines (+70/-8)2 files modifiedsrc/xtrabackup.c (+29/-8)
test/t/bug1038127.sh (+41/-0)
summary: |
- XtraBackup 2.0.2 is not backwards compatable + XtraBackup 2.0.2 is not backwards compatible |
Does it happen on all incremental backups taken with 2.0.1 and restored with 2.0.2 or just some particular ones?
Looking at the relevant source code, since there is no "xtrabackup: page size for %s is %lu bytes\n" in the output, it must be either get_meta_path() or xb_read_ delta_metadata( ) failure. Neither of which has changed between 2.0.1 and 2.0.2, this needs further analysis.