--replicate-check doesn't look at @ARGV
Bug #879194 reported by
Alfie John
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Invalid
|
Undecided
|
Unassigned | ||
1.0 |
Won't Fix
|
Undecided
|
Unassigned | ||
2.0 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
--replicate-check by default will find slaves by:
- SHOW PROCESSLIST
- SHOW SLAVE HOSTS
But if I'm not using MySQL's built-in replication, slaves don't show up on either commands. However slaves are already being specified at the end of @ARGV. Why can't --replicate-check use these values to connect and do the checking?
The only problem I see is that @ARGV can only specify one level of the replication network and so it can't recurse. But that is all I need for now :)
tags: | added: finding-slaves pt-table-checksum |
Changed in percona-toolkit: | |
importance: | Undecided → Medium |
Changed in percona-toolkit: | |
importance: | Medium → Undecided |
To post a comment you must log in.
In the upcoming release of pt-table-checksum, you can use method= dsn=D=< database> ,t=<table> to specify a table of
--recursion-
DSNs. Take a look at the code if you wish and see if it does what you
need.