innobackupex unable to capture slave info on incremental backups

Bug #857788 reported by Lachlan Mulcahy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Undecided
Lachlan Mulcahy
1.6
Fix Released
Undecided
Lachlan Mulcahy
2.0
Fix Released
Undecided
Lachlan Mulcahy

Bug Description

Trying to use the fix for this bug, which should enable capturing slave info with incremental backups...

https://bugs.launchpad.net/percona-xtrabackup/+bug/834657

Makes innobackupex fail when attempting to write slave info seemingly with a mysql response timeout. The real reason for this is that there is no actively open MySQL connection when using --slave-slave-info and --incremental with innobackupex.

Attached is a patch for use against innobackupex as per xtrabackup-1.6 rev 281.

It simplifies the connection open and closing so that it's less confusing to know, depending on which options you are using, whether you need to open a fresh connection or not, just always try to reuse the same one.

Related branches

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

Going to just make a branch for this and propose a merge..

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-1128

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.