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 on 2012-09-04
- Laurynas Biveinis: Approve on 2012-09-03
-
Diff: 125 lines (+70/-8)2 files modifiedsrc/xtrabackup.c (+29/-8)
test/t/bug1038127.sh (+41/-0)
- Laurynas Biveinis: Approve on 2012-09-05
-
Diff: 125 lines (+70/-8)2 files modifiedsrc/xtrabackup.c (+29/-8)
test/t/bug1038127.sh (+41/-0)
Space ids are stored now in .meta files by xb_write_
Sergei -
So I guess XB should be updated to understand both old and new .meta formats?
Alexey Kopytov (akopytov) wrote : | #4 |
Yes, space_id should have been made an optional value in xb_read_
Also would be a good idea to ensure that xtrabackup_
summary: |
- XtraBackup 2.0.2 is not backwards compatable + XtraBackup 2.0.2 is not backwards compatible |
Shahriyar Rzayev (rzayev-sehriyar) wrote : | #6 |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/
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.