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
8
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://www.percona.com/doc/percona-toolkit/2.2/pt-online-schema-change.html

Under --tries option:

To change the defaults, specify the new values like:

--tries create_triggers:5:0.5,drop_triggers:5:0.5
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.

Tags: docs
Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Verified. As per the documentation, syntax should be

-tries operation:tries:wait [,operation:tries:wait] and given example is
-tries create_triggers:5:0.5, drop_triggers:5:0.5

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"

tags: added: docs
Changed in percona-toolkit:
status: New → Confirmed
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
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-820

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.