innobackupex ignores --ibbackup

Bug #729497 reported by Baron Schwartz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
High
Stewart Smith
1.6
Fix Released
High
Stewart Smith

Bug Description

innobackupex ignores what you set for --ibbackup, and calls set_xtrabackup_version() anyway. The following change will prevent that, IN SOME CASES:

241c242
< } else {
---
> } elsif ($option_ibbackup_binary eq 'autodetect') {

Note: I do NOT know if this causes any other bugs or really fixes the problem -- in the exact specific problem I was having, the code inside of set_xtrabackup_version() was killing the child mysql process, and I could not figure out why, but I found that the call to set_xtrabackup_version() on line 243 could not be avoided no matter what options I specified. So this change prevented that specific problem from happening, but I have no clue what else it breaks.

Tags: cr i15286

Related branches

Revision history for this message
Lachlan Mulcahy (lachlan-mulcahy) wrote :

Tested this logic change and it seems to work just fine. The checking for whether the binary exists and is valid is not as exhaustive as in the if($option_apply_log) section, but at least it makes the option useable.

I'm finding this necessary to avoid some crashes when performing apply-log using xtrabackup_51 binary (result of MySQL bug in InnoDB that it is linked against).

tags: added: cr15286
tags: added: cr i15286
removed: cr15286
Changed in percona-xtrabackup:
status: New → Confirmed
importance: Undecided → High
milestone: none → 1.7
Stewart Smith (stewart)
Changed in percona-xtrabackup:
assignee: nobody → Stewart Smith (stewart)
Stewart Smith (stewart)
Changed in percona-xtrabackup:
status: Confirmed → In Progress
Stewart Smith (stewart)
Changed in percona-xtrabackup:
status: In Progress → Fix Committed
Revision history for this message
Stewart Smith (stewart) wrote :

We need this in 1.6 for running testsuite in jenkins

Stewart Smith (stewart)
Changed in percona-xtrabackup:
status: Fix Committed → Fix Released
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-303

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.