sst xtrabackup-v2 did not clean undo log dir

Bug #1394836 reported by Leo Kwan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
Fix Released
Undecided
Unassigned
5.6
Fix Released
Undecided
Unassigned

Bug Description

If there is different directory for undo log and log group home

innodb_undo_directory = /mysqlc/mysqld_data/undo
innodb_log_group_home_dir = /mysqlc/mysqld_data/log

In wsrep_sst_xtrabackup-v2 line 773

                wsrep_log_info "Cleaning the existing datadir and innodb-data/log directories"
                find $ib_home_dir $ib_log_dir $DATA -mindepth 1 -regex $cpat -prune -o -exec rm -rfv {} 1>&2 \+

Did not clean the undo log directory. It will fail the sst when it try to overwrite undo log.

percona-xtrabackup.x86_64
2.2.6-5042.el7

affects: percona-xtrabackup → percona-xtradb-cluster
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/PXC-1773

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

Other bug subscribers

Remote bug watches

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