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

Reported by Bradley Baetz on 2011-11-08
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup
Medium
Alexey Kopytov
1.6
Undecided
Unassigned
2.0
Medium
Alexey Kopytov
2.1
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

Bradley Baetz (bbaetz) wrote :
Changed in percona-xtrabackup:
status: New → Confirmed
Stewart Smith (stewart) on 2012-02-07
Changed in percona-xtrabackup:
importance: Undecided → Medium
tags: added: i23974
description: updated
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.

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

Other bug subscribers

Patches