Merge lp:~percona-toolkit-dev/percona-toolkit/pt-slave-find-add-resolve-address-option-1418446 into lp:~percona-toolkit-dev/percona-toolkit/release-2.2.14
Proposed by
Frank Cizmich
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Daniel Nichter | ||||
Approved revision: | 614 | ||||
Merged at revision: | 621 | ||||
Proposed branch: | lp:~percona-toolkit-dev/percona-toolkit/pt-slave-find-add-resolve-address-option-1418446 | ||||
Merge into: | lp:~percona-toolkit-dev/percona-toolkit/release-2.2.14 | ||||
Diff against target: |
134 lines (+52/-6) 2 files modified
bin/pt-slave-find (+39/-5) t/pt-slave-find/pt-slave-find.t (+13/-1) |
||||
To merge this branch: | bzr merge lp:~percona-toolkit-dev/percona-toolkit/pt-slave-find-add-resolve-address-option-1418446 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Nichter | Approve | ||
Review via email:
|
Description of the change
In response to feature request:
Adds option --resolve-address to pt-slave-find.
This makes the tool resolve the IP address of the server to a hostname and print it out within parenthesis alongside the IP.
Example:
127.0.0.1:12345 (db1.sample.net)
+- 127.0.0.1:12346 (db2.sample.net)
+- 127.0.0.1:12347 (db3.sample.net)
Off by default
To post a comment you must log in.
Just one spelling suggestion, otherwise code is fine.