Merge lp:~sergei.glushchenko/percona-xtrabackup/2.2-xb-bug1391216 into lp:percona-xtrabackup/2.2
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5048 |
Proposed branch: | lp:~sergei.glushchenko/percona-xtrabackup/2.2-xb-bug1391216 |
Merge into: | lp:percona-xtrabackup/2.2 |
Diff against target: |
29 lines (+4/-4) 2 files modified
storage/innobase/fil/fil0fil.cc (+2/-2) storage/innobase/os/os0file.cc (+2/-2) |
To merge this branch: | bzr merge lp:~sergei.glushchenko/percona-xtrabackup/2.2-xb-bug1391216 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+243266@code.launchpad.net |
Description of the change
Bug 1391216: Xtrabackup 2.2.5 fails with non-default innodb_
Port fix for Percona Server bug 1114612 to XtraBackup.
Original commit message:
Fix bug 1114612 (Failing assertion: n % srv_log_block_size == 0 in
file os0file.c line 4269).
The assertion happens because InnoDB I/O and AIO routines assume that
all I/O is done in log block size blocks. This works OK with the
default log block size of 512, but is likely to assert with large
innodb_
Fix by asserting that all I/O is done in the minimum allowed log block
size blocks, that is, 512 bytes.
http://
Note: I could not reproduce the crash, the fix is what seems logical to do.