pt-table-checksum --check-slave-lag docs aren't clear
Bug #954588 reported by
Fernando Ipar
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Daniel Nichter |
Bug Description
The documentation implies that if --check-slave-lag is used, pt-table-checksum will only check the lag for the specified slave.
However, the tool still tries to recurse down the replication hierarchy.
Is this expected behavior?
I understand --check-slave-lag as meaning "I only care about lag on this one slave, please just monitor that one", is that wrong?
Related branches
lp:~percona-toolkit-dev/percona-toolkit/ptc-check-slave-lag-clarification-bug-954588
- Daniel Nichter: Approve
-
Diff: 180 lines (+92/-25)1 file modifiedbin/pt-table-checksum (+92/-25)
Changed in percona-toolkit: | |
milestone: | none → 2.1.4 |
summary: |
- pt-table-checksum still tries to recurse down the replication hierarchy - when --check-slave-lag is specified + pt-table-checksum recurses to slaves when --check-slave-lag is specified |
Changed in percona-toolkit: | |
assignee: | nobody → Daniel Nichter (daniel-nichter) |
Changed in percona-toolkit: | |
status: | Confirmed → In Progress |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
When --check-slave-lag is used, pt-table-checksum should only connect to the specified server and shouldn't interact with any others at all. So this is a bug.