2.3.3 innobackupex silently skip extra argument
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
2.3 |
Fix Released
|
Medium
|
Unassigned | |||
2.4 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If in invoke innobackupex like this:
innobackupex --defaults-
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
innobackupex run as nothing wrong, which should failed, cause I supply an unknown option '--test' and two extra arguments 'abc' and '123'.
And I don't think this is expected behaviour.
For 2.2, innnobackex complain error as:
Unknown option: test
innobackupex: got a fatal error with the following stacktrace: at /usr/bin/
innobackupex: Error: Too many command line arguments
it spit out the unknown option '--test' and complain about extra arguments.
For the extra arguments, I think can be fixed as attechment.
Changed in percona-xtrabackup: | |
status: | Invalid → New |
It is an expected behaviour,
It is processing only known options and will just ignore unknown.