version_check breaks tar stream
Bug #1312244 reported by
Zhang Lu
This bug report is a duplicate of:
Bug #1256942: xbstream stream mode issues a warning on standard output messing up the backup stream.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
New
|
Undecided
|
Unassigned |
Bug Description
version-check sub in innobackupex breaks tar stream. It prints the information to STDOUT instead of STDERR.
See bellow (line # 1032 - #1042
if ( $advice ) {
PTDEBUG && _d('Advice:', Dumper($advice));
if ( scalar @$advice > 1) {
print "\n# " . scalar @$advice . " software updates are "
. "available:\n";
}
else {
print "\n# A software update is available:\n";
}
print join("\n", map { "# * $_" } @$advice), "\n\n";
}
To post a comment you must log in.
This is a duplicate of bug #1256942 (fixed in XB 2.1.7).