innobackupex --safe-slave-backup-timeout option doesn't work

Bug #887803 reported by Bradley Baetz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Medium
Alexey Kopytov
1.6
Won't Fix
Undecided
Unassigned
2.0
Fix Released
Medium
Alexey Kopytov
2.1
Fix Released
Medium
Alexey Kopytov

Bug Description

The innobackupex help docs say:

    --safe-slave-backup-timeout
        How many seconds --safe-slave-backup should wait for
        Slave_open_temp_tables to become zero. (default 300)

However:

# time innobackupex --defaults-file=/etc/my.cnf --stream=tar /tmp/ --slave-info --safe-slave-backup-timeout=7200 | ssh foo@bar "tar xfi - -C /var/lib/mysql"
Option safe-slave-backup-timeout does not take an argument
innobackupex: Bad command line arguments
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors

The GetOptions call for this is wrong - patch attached

Tags: i23974

Related branches

Revision history for this message
Bradley Baetz (bbaetz) wrote :
Changed in percona-xtrabackup:
status: New → Confirmed
Stewart Smith (stewart)
Changed in percona-xtrabackup:
importance: Undecided → Medium
tags: added: i23974
description: updated
Revision history for this message
Alexey Kopytov (akopytov) wrote :

Going to fix this one along with the fix for bug #1037379, as this is essentially a prerequisite for creating a test case for the latter.

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

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

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.