Merge lp:~sergei.glushchenko/percona-xtrabackup/2.2-BT48819-xb-bug1403237 into lp:percona-xtrabackup/2.2
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5058 |
Proposed branch: | lp:~sergei.glushchenko/percona-xtrabackup/2.2-BT48819-xb-bug1403237 |
Merge into: | lp:percona-xtrabackup/2.2 |
Diff against target: |
97 lines (+26/-6) 3 files modified
storage/innobase/include/log0log.h (+2/-0) storage/innobase/log/log0recv.cc (+10/-2) storage/innobase/xtrabackup/src/xtrabackup.cc (+14/-4) |
To merge this branch: | bzr merge lp:~sergei.glushchenko/percona-xtrabackup/2.2-BT48819-xb-bug1403237 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+245670@code.launchpad.net |
Description of the change
http://
Bug 1403237: apply-log Failed with small xtrabackup_logfile
The root cause is that last checkpoint lsn offset in log group is
stored at different offsets in ibdata1 for Percona Server 5.5 and
MySQL 5.6 when total size of log files is greater than 4G.
This fix is to try both variants of the offset when starting log
copying, one of them has to work.
No changes needed when it comes to creating empty log files upon prepare as checkpoint LSN offset will be close to LOG_FILE_HDR_SIZE and both PS 5.1/5.5 and MySQL 5.6 will recognize it correctly.
No changes needed when we create temporary log file because only xtrabackup read it and it must be of same format as MySQL 5.6. We don't recommend to prepare backup with the same version of xtrabackup which used for taking backup.
Revision IDS in branch and jenkins build are not the same, but only thing changed is commit message.