On pt-online-schema-change documentation, the interpretation of --tries create_triggers:5:0.5,drop_triggers:5:0.5 is wrong
Bug #1417864 reported by
Jaime Sicam
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Low
|
Frank Cizmich |
Bug Description
Check http://
Under --tries option:
To change the defaults, specify the new values like:
--tries create_
That makes the tool try create_triggers and drop_triggers 2 times with a 0.5 second wait between tries.
Based on example, it should be:
That makes the tool try create_triggers and drop_triggers 5 times with a 0.5 second wait between tries.
Related branches
lp:~percona-toolkit-dev/percona-toolkit/pt-online-schema-change-error-in-doc-of--tries-option-1417864
- Percona Toolkit developers: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedbin/pt-online-schema-change (+1/-1)
Changed in percona-toolkit: | |
status: | Confirmed → Fix Committed |
importance: | Undecided → Low |
assignee: | nobody → Frank Cizmich (frank-cizmich) |
milestone: | none → 2.2.14 |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Verified. As per the documentation, syntax should be
-tries operation: tries:wait [,operation: tries:wait] and given example is triggers: 5:0.5, drop_triggers:5:0.5
-tries create_
But in the explanation, That makes the tool try create_triggers and drop_triggers 2 times with a 0.5 second wait between tries.
It should be "That makes the tool try create_triggers and drop_triggers 5 times with a 0.5 second wait between tries"