Merge lp:~sergei.glushchenko/percona-xtrabackup/2.3-xb-bug1363234 into lp:percona-xtrabackup/2.3

Proposed by Sergei Glushchenko
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 5051
Proposed branch: lp:~sergei.glushchenko/percona-xtrabackup/2.3-xb-bug1363234
Merge into: lp:percona-xtrabackup/2.3
Diff against target: 46 lines (+30/-1)
2 files modified
storage/innobase/xtrabackup/innobackupex.pl (+1/-1)
storage/innobase/xtrabackup/test/t/bug1363234.sh (+29/-0)
To merge this branch: bzr merge lp:~sergei.glushchenko/percona-xtrabackup/2.3-xb-bug1363234
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+243966@code.launchpad.net

Description of the change

2.3 is completely the same as 2.2 at the moment

To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'storage/innobase/xtrabackup/innobackupex.pl'
--- storage/innobase/xtrabackup/innobackupex.pl 2014-12-02 15:11:30 +0000
+++ storage/innobase/xtrabackup/innobackupex.pl 2014-12-08 10:44:39 +0000
@@ -2663,7 +2663,7 @@
2663 push(@skip_list, "\Q$c->{filename}\E");2663 push(@skip_list, "\Q$c->{filename}\E");
2664 }2664 }
2665 cleanup_dir_recursively($backup_dir,2665 cleanup_dir_recursively($backup_dir,
2666 '^(' . join('|', @skip_list, '.*\.ibd') . ')$');2666 '^(' . join('|', @skip_list, '.*\.ibd', 'undo[0-9]+') . ')$');
2667 }2667 }
26682668
2669}2669}
26702670
=== added file 'storage/innobase/xtrabackup/test/t/bug1363234.sh'
--- storage/innobase/xtrabackup/test/t/bug1363234.sh 1970-01-01 00:00:00 +0000
+++ storage/innobase/xtrabackup/test/t/bug1363234.sh 2014-12-08 10:44:39 +0000
@@ -0,0 +1,29 @@
1########################################################################
2# Bug 1363234: Incremental backup fail with innodb_undo_tablespaces > 1
3########################################################################
4
5. inc/common.sh
6
7require_server_version_higher_than 5.6.0
8
9MYSQLD_EXTRA_MY_CNF_OPTS="
10innodb_file_per_table=1
11innodb_undo_tablespaces=4
12"
13
14start_server
15load_sakila
16
17# backup
18innobackupex --no-timestamp $topdir/backup
19innobackupex --incremental --no-timestamp \
20 --incremental-basedir=$topdir/backup $topdir/inc1
21innobackupex --incremental --no-timestamp \
22 --incremental-basedir=$topdir/inc1 $topdir/inc2
23
24# prepare (last one would fail)
25innobackupex --apply-log --redo-only $topdir/backup
26innobackupex --apply-log --redo-only --incremental-dir=$topdir/inc1 \
27 $topdir/backup
28innobackupex --apply-log --redo-only --incremental-dir=$topdir/inc2 \
29 $topdir/backup

Subscribers

People subscribed via source and target branches