--purge and --no-delete are mutually exclusive, but still allowed to be specified together by pt-archiver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Low
|
Frank Cizmich |
Bug Description
Options --purge and --no-delete are mutually exclusive, but still can be specified together.
How to repeat:
pt-archiver --purge --no-delete --quick --no-check-charset --statistics --buffer --bulk-delete --primary-key-only --source h=127.0.
TIME ELAPSED COUNT
2015-05-07T23:38:24 0 0
^CExiting on SIGINT.
2015-05-07T23:40:00 96 9
Started at 2015-05-
Source: D=test,
Dest: D=test,
SELECT 10
INSERT 9
DELETE 0
Action Count Time Pct
commit 20 0.7237 0.69
inserting 9 0.0072 0.01
select 1 0.0002 0.00
other 0 103.5736 99.30
Suggested fix: do not allow to specify mutually exclusive options together.
Changed in percona-toolkit: | |
status: | Confirmed → Fix Committed |
milestone: | none → 2.3.1 |
importance: | Undecided → Low |
assignee: | nobody → Frank Cizmich (frank-cizmich) |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
Version 2.2.14