if you do not use -i option with tar, innobackupex exits leaving xtrabackup running in the background
Bug #604116 reported by
Swany
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona BenchWork |
Invalid
|
Undecided
|
Unassigned | ||
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Invalid
|
Undecided
|
Unassigned |
Bug Description
example
innobackupex --stream=tar4ibd --user=root --tmpdir=./tmp ./backup | ( cd /tmp; tar xovf -)
After a short time, the tar extraction will fail because tar exists at zero byte by default (-i option prevents this). This will cause innobackupex to exit with an error message, but it leaves the xtrabackup script running in the background, continuing to copy log files. You will see occasional output on your terminal from the log copy process.
You must manually use the unix 'kill' command to terminate the process, as it is not connected to the terminal.
innobackupex should kill all spawned children when it exits on error.
Changed in percona-benchwork: | |
status: | New → Invalid |
To post a comment you must log in.
Attempted to reproduce with this command:
~# innobackupex --stream=tar4ibd --user=root --tmpdir=./tmp /root/backup | ( cd /tmp; tar xovf -)
Innobackupex did not fail (and it should not)
tar without -i option does not fail neither, it just does not extract all data without -i option.