innobackupex ignores --ibbackup

Bug #729497 reported by Baron Schwartz on 2011-03-05
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to
Fix Released
Stewart Smith
Fix Released
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:

< } 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.

Related branches

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) on 2011-05-19
Changed in percona-xtrabackup:
assignee: nobody → Stewart Smith (stewart)
Stewart Smith (stewart) on 2011-05-20
Changed in percona-xtrabackup:
status: Confirmed → In Progress
Stewart Smith (stewart) on 2011-05-20
Changed in percona-xtrabackup:
status: In Progress → Fix Committed
Stewart Smith (stewart) wrote :

We need this in 1.6 for running testsuite in jenkins

Stewart Smith (stewart) on 2011-06-12
Changed in percona-xtrabackup:
status: Fix Committed → Fix Released

Percona now uses JIRA for bug reports so this bug report is migrated to:

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

Other bug subscribers