The check for file exists inside the function backup_files in innobackupex is not correct

Bug #1155227 reported by Ovais Tariq
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Invalid
Medium
Unassigned
2.0
Won't Fix
Medium
Unassigned
2.1
Won't Fix
Medium
Unassigned
2.2
Won't Fix
Medium
Unassigned
2.3
Invalid
Medium
Unassigned

Bug Description

I am seeing this in Xtrabackup version 2.0.5.

Inside the function backup_files there is this check when streaming of a file fails:

2132 if ( -e "$database/$file_name" ) {
2133 Die "Failed to stream '$database/$file_name': $!";
2134 } else {
2135 print STDERR "$prefix Ignoring nonexistent file '$database/$file_name'.\n";
2136 }

The check should be:
if ( -e "$source_dir/$database/$file_name" ) {
...

Changed in percona-xtrabackup:
status: Triaged → Invalid
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-42

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.