Partial backups do not work with partitioned tables
Bug #711166 reported by
Valentine Gostev
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
High
|
Sergei Glushchenko | ||
1.6 |
Won't Fix
|
High
|
Sergei Glushchenko | ||
2.0 |
Fix Released
|
High
|
Sergei Glushchenko | ||
2.1 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
Partitioned tables are not correctly handled by the --databases and --tables-file options of innobackupex, and by the --tables option of xtrabackup. We should fix those options so that partitions are actually backed up when a partitioned table is passed as an argument to those options.
We should also make sure that partitions created with DATA DIRECTORY/INDEX DIRECTORY are backed up and restored correctly.
Related branches
lp:~sergei.glushchenko/percona-xtrabackup/bug711166_part-1.6
Rejected
for merging
into
lp:percona-xtrabackup/2.0
- Alexey Kopytov (community): Needs Resubmitting
-
Diff: 194 lines (+163/-0)4 files modifiedinnobackupex (+2/-0)
test/t/bug711166-innodb.sh (+77/-0)
test/t/bug711166-myisam.sh (+79/-0)
xtrabackup.c (+5/-0)
Rejected
for merging
into
lp:percona-xtrabackup/1.6
- Alexey Kopytov (community): Needs Fixing
-
Diff: 756 lines (+482/-154)9 files modifiedinnobackupex (+27/-11)
test/inc/ib_part.sh (+76/-0)
test/t/ib_part_databases.sh (+42/-0)
test/t/ib_part_include.sh (+51/-0)
test/t/ib_part_include_stream.sh (+42/-0)
test/t/ib_part_tf_innodb.sh (+49/-0)
test/t/ib_part_tf_innodb_stream.sh (+43/-0)
test/t/ib_part_tf_myisam.sh (+42/-0)
xtrabackup.c (+110/-143)
lp:~sergei.glushchenko/percona-xtrabackup/xb20-partial
- Alexey Kopytov (community): Approve
- Laurynas Biveinis: Pending requested
-
Diff: 1000 lines (+586/-252)9 files modifiedinnobackupex (+25/-10)
src/xtrabackup.c (+219/-242)
test/inc/ib_part.sh (+92/-0)
test/t/ib_part_databases.sh (+39/-0)
test/t/ib_part_include.sh (+47/-0)
test/t/ib_part_include_stream.sh (+39/-0)
test/t/ib_part_tf_innodb.sh (+46/-0)
test/t/ib_part_tf_innodb_stream.sh (+40/-0)
test/t/ib_part_tf_myisam.sh (+39/-0)
lp:~sergei.glushchenko/percona-xtrabackup/xb21-partial
- Stewart Smith (community): Needs Fixing
- Alexey Kopytov (community): Approve
-
Diff: 905 lines (+537/-201)9 files modifiedinnobackupex (+23/-6)
src/xtrabackup.c (+172/-195)
test/inc/ib_part.sh (+92/-0)
test/t/ib_part_databases.sh (+39/-0)
test/t/ib_part_include.sh (+47/-0)
test/t/ib_part_include_stream.sh (+39/-0)
test/t/ib_part_tf_innodb.sh (+46/-0)
test/t/ib_part_tf_innodb_stream.sh (+40/-0)
test/t/ib_part_tf_myisam.sh (+39/-0)
Changed in percona-xtrabackup: | |
milestone: | none → 1.6 |
importance: | Undecided → High |
description: | updated |
Changed in percona-xtrabackup: | |
assignee: | nobody → Valentine Gostev (core-longbow) |
description: | updated |
Changed in percona-xtrabackup: | |
milestone: | 1.6 → none |
Changed in percona-xtrabackup: | |
assignee: | Vadim Tkachenko (vadim-tk) → nobody |
summary: |
- Implement full support for backups of partitioned tables + Partial backups do not work with partitioned tables |
description: | updated |
To post a comment you must log in.
test cases are available in linked merge proposal.