Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Nichter
b0cacd15f4 Improve MasterSlave::check_recursion_method() tests. 2013-10-02 11:15:58 -07:00
Brian Fraser
7d5da6e6f5 Rebased the branch to trunk 2013-04-12 12:58:10 -03:00
Brian Fraser
db0a29561c Fixes per Daniel's review 2013-04-09 10:21:15 -03:00
Daniel Nichter
feab2f0925 s/Percona Inc/Percona Ireland Ltd/g 2013-01-02 17:19:16 -07:00
Daniel Nichter
e6d31a666a Rewrite how MasterSlave handles --recursion-methods. 2012-08-02 10:57:36 -06:00
Brian Fraser fraserb@gmail.com
a25b9eab40 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.
2012-08-01 17:39:12 -03:00
Brian Fraser
1d00866669 MasterSlave: Drop dependency on VersionParser 2012-07-13 01:16:04 -03:00
Brian Fraser
f30c50be44 Updated the fles in /lib to use the new VersionParser 2012-07-11 15:10:33 -03:00
Baron Schwartz
b9304dabb5 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:14:20 -04:00
Daniel Nichter
e969d8d9f7 Implement and test --recursion-method=none in MasterSlave.pm and pt-table-checksum. 2012-05-17 08:11:30 -06:00
Daniel Nichter
1a619cc47c Test and fix typo in MasterSlave.pm and update that module in all tools. 2012-01-31 09:53:06 -07:00
Daniel Nichter
88304e69fb Replace MKDEBUG with PTDEBUG in modules. 2012-01-19 12:46:56 -07:00
Daniel Nichter
e2e40488c5 Add Cxn.pm. Make MasterSlave, NibbleIterator, and ReplicaLagWaiter use Cxn. Rewrite, simplify Retry. 2011-10-06 12:47:35 -06:00
Daniel Nichter
5f2cdad299 Implement MasterSlave::get_slaves() to get cxns from a DSN table. Add comments explaining use_repl_db(). 2011-09-13 09:27:59 -06:00
Daniel Nichter
ff59f479e6 Add parentheses to avoid ambiguity. 2011-08-23 08:29:47 -06:00
Daniel Nichter
1e6c4daf23 Fix debug statement. 2011-08-02 16:24:59 -06:00
Daniel Nichter
1480606bb2 Fix MasterSlave::get_slave_lag(). Revert pt-table-checksum to use old SchemaIterator. Remove pt-table-usage tests. Fix use of var from another package in pt-query-digest. Remove reference to $VERSION from pt-show-grants. Change mk- to pt- in pt-variable-advisor sample. 2011-07-13 16:36:14 -06:00
Daniel Nichter
b805f7c92d Remove $Revision$ and finish re-branding modules. Rename MaatkitTest.pm to PerconaTest.pm. Put copyrights on one line. 2011-07-12 15:47:07 -06:00
Daniel Nichter
55c69ffbc1 Move module docu to work for NaturalDocs. 2011-07-02 12:29:08 -06:00
Daniel Nichter
6c501128e6 Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1. 2011-06-24 11:22:06 -06:00