Remove dropped tables from a full backup when merging an incremental one

Bug #856400 reported by Alexey Kopytov
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
High
Sergei Glushchenko
2.0
Fix Released
High
Sergei Glushchenko
2.1
Fix Released
High
Sergei Glushchenko

Bug Description

This is a counterpart of bug #759701.

Tables that were dropped between taking a full backup and an incremental one are present in the full backup directory, and are not removed when merging an incremental one which does not have them. This applies to .frm files and both non-InnoDB tables and InnoDB per-table tablespaces, even though InnoDB tables are removed from the data dictionary when applying deltas to the system tablespace. Which leads to orphaned frms and tables after restore.

So innobackupex should be fixed to remove files corresponding to tables that are missing in the incremental backup directory.

Tags: i29835

Related branches

Changed in percona-xtrabackup:
status: New → Confirmed
Revision history for this message
Alexey Kopytov (akopytov) wrote :

A fix for this bug should also remove some metainfo files (e.g. xtrabackup_slave_info) if they are not present in the incremental backup.

Stewart Smith (stewart)
Changed in percona-xtrabackup:
importance: Undecided → Medium
Stewart Smith (stewart)
Changed in percona-xtrabackup:
status: Confirmed → Triaged
Revision history for this message
Mike Siekkinen (9-mikes) wrote :

This also seems to apply to partitions that are dropped betwween incrementals.

Jervin R (revin)
tags: added: i29835
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-25

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.