Merge lp:~laurynas-biveinis/percona-xtrabackup/bug1204075 into lp:percona-xtrabackup/2.1
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 648 |
Proposed branch: | lp:~laurynas-biveinis/percona-xtrabackup/bug1204075 |
Merge into: | lp:percona-xtrabackup/2.1 |
Diff against target: |
48 lines (+10/-3) 2 files modified
src/changed_page_bitmap.cc (+9/-3) src/innodb_int.h (+1/-0) |
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-xtrabackup/bug1204075 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+177382@code.launchpad.net |
Description of the change
http://
Fix bug 1204075 (xb_incremental
builds | missing bitmap data at the interval start fails "
bitmap_
The issue is that debug code at the end of
log_
check which will fail if the bitmap data is missing at the required
interval start. Such situation will result in first_file_
keeping its sentinel value, which will differ from the
bitmap_
LSN of the found bitmap files.
The missing bitmap data at the interval start is properly diagnosed
elsewhere in xb_page_
the fix is to remove it.
At the same time bring over other changes from Percona Server version
of log_online_
first_
directory sanity by returning an error instead of a release build
assert.
For LSN_MAX, add a compatibility define in innodb_int.h for 5.1-5.5
versions.