lp:~percona-toolkit-dev/percona-toolkit/fix-953141-recursion-method-array
- Get this branch:
- bzr branch lp:~percona-toolkit-dev/percona-toolkit/fix-953141-recursion-method-array
Branch merges
- Daniel Nichter: Approve
-
Diff: 2941 lines (+985/-554)12 files modifiedbin/pt-archiver (+76/-41)
bin/pt-heartbeat (+99/-54)
bin/pt-kill (+79/-44)
bin/pt-online-schema-change (+100/-54)
bin/pt-query-digest (+76/-41)
bin/pt-slave-find (+97/-56)
bin/pt-slave-restart (+97/-56)
bin/pt-table-checksum (+102/-57)
bin/pt-table-sync (+94/-56)
lib/MasterSlave.pm (+80/-44)
t/lib/MasterSlave.t (+71/-49)
t/pt-table-checksum/option_sanity.t (+14/-2)
Related bugs
Related blueprints
Branch information
- Owner:
- Percona Toolkit developers
- Status:
- Merged
Recent revisions
- 334. By Brian Fraser
-
t/lib/MasterSla
ve.t: A call to ->recurse_ to_slaves( ) still used a string instead of an arrayref - 333. By Brian Fraser <email address hidden>
-
Update all modules that use --recursion-method, additionally changing it to an array with default processlist,hosts and checking the array for validity
- 332. By Brian Fraser <email address hidden>
-
MasterSlave: Rework how the recursion methods are checked & resolved
In part by removing the OptionParser usage out from get_slaves
and recurse_to_slaves and making them expect arrayrefs, thus
forcing our callers to deal with that, and in part by
splitting out the method-checking to MasterSlave::check_ recursion_ method
and the resolving (originally in find_slave_hosts) into
_resolve_recursion_ methods. - 331. By Brian Fraser
-
Removed the charset munging and made a note in the pt-archiver docs that the only legal charsets are those known by MySQL
- 328. By Brian Fraser
-
t/lib/MasterSla
ve.t: Check that recurse_to_slaves gets all three slaves, or give a diagnostic
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:percona-toolkit/2.1