Merge lp://staging/~laurynas-biveinis/percona-xtrabackup/bug1043762-2.0 into lp://staging/percona-xtrabackup/2.0

Proposed by Laurynas Biveinis
Status: Work in progress
Proposed branch: lp://staging/~laurynas-biveinis/percona-xtrabackup/bug1043762-2.0
Merge into: lp://staging/percona-xtrabackup/2.0
Prerequisite: lp://staging/~laurynas-biveinis/percona-xtrabackup/bug1044398-2.0
Diff against target: 166 lines (+103/-27)
1 file modified
src/xtrabackup.c (+103/-27)
To merge this branch: bzr merge lp://staging/~laurynas-biveinis/percona-xtrabackup/bug1043762-2.0
Reviewer Review Type Date Requested Status
Percona core Pending
Review via email: mp+123247@code.staging.launchpad.net

Description of the change

Fix bug 1043762 (Incremental backups may take up to 5x more space
after the fix for bug #1022562).

Fix for bug 1022562 unconditionally copied first 64K of every
tablespace for incremental backups. In case of many tablespaces, that
creates huge deltas even in the absence of any changes.

Fixed by not requiring to copy the first 64K, but rather by creating
any missing tablespaces from scratch. Introduce new function
xb_delta_create_space_file() that is adopted from
fil_create_new_single_table_tablespace().

Non-functional change, no testsuite changes necessary.

Jenkins: http://jenkins.percona.com/job/percona-xtrabackup-2.0-param/254/

To post a comment you must log in.

Unmerged revisions

466. By Laurynas Biveinis

Fix bug 1043762 (Incremental backups may take up to 5x more space
after the fix for bug #1022562).

Fix for bug 1022562 unconditionally copied first 64K of every
tablespace for incremental backups. In case of many tablespaces, that
creates huge deltas even in the absence of any changes.

Fixed by not requiring to copy the first 64K, but rather by creating
any missing tablespaces from scratch. Introduce new function
xb_delta_create_space_file() that is adopted from
fil_create_new_single_table_tablespace().

Non-functional change, no testsuite changes necessary.

465. By Laurynas Biveinis

Automerge prerequisite lp:~laurynas-biveinis/percona-xtrabackup/bug1044398-2.0

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches