Created by Laurynas Biveinis on 2012-07-24 and last modified on 2012-08-01
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-xtrabackup/bug1022562-2.0
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Recent revisions

451. By Laurynas Biveinis on 2012-08-01

Automerge trunk

450. By Laurynas Biveinis on 2012-07-26

Fix bug 1022562 (Inc backup fails if a tablespace is created between
full and inc backups).

The issue is that with the testcase workload, the 1st four
(FIL_IBD_FILE_INITIAL_SIZE) pages of a new tablespace were not flushed
from the buffer pool between the full and incremental backups, thus
they were not a part of the delta and on backup prepare a new
tablespace was created from scratch. But that tablespace did not have
its 1st page flags initialized properly, resulting in InnoDB errors.

Fixed by always storing the 1st block of pages that is sized
FIL_IBD_FILE_INITIAL_SIZE * UNIV_PAGE_SIZE bytes in the incremental
backup delta. UNIV_PAGE_SIZE is used because the minimum tablespace
size requirement is the same in bytes for compressed tablespaces too,
so for them more than FIL_IBD_FIL_INITIAL_SIZE number of pages must be
copied. Also added a comment to xb_delta_open_matching_space() that
this function does not create a "regular" tablespace but only its
file. Added a testcase for this bug.

448. By Stewart Smith on 2012-07-06

merge trunk 2.0 with test suite updates

447. By Stewart Smith on 2012-07-06

merge stewart's test suite cleanup

446. By Stewart Smith on 2012-07-04

merge test suite support for testing against MySQL 5.0

442. By Alexey Kopytov on 2012-06-20

Bug #1015416: Regression in XtraBackup 2.0.0 in case of an incomplete
log block

The problem was that when XtraBackup was reading a log block that has not
been completely written by the server yet, it would fail with an error
complaining about log block checksum mismatch. Which is a regression
introduced in 2.0 by the fix for bug #805593.

Fixed by restoring the 1.6 behavior, i.e. just print a warning and retry
reading the log block later.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.