Commit Graph

75 Commits

Author SHA1 Message Date
Brian Fraser 6eee6ac6f6 Update the rest of the modules to use the updated version_check 2012-08-27 22:30:48 -03:00
Daniel Nichter 98338b6508 Simplify how Pingback handles MySQL instances. Remove Percona::Toolkit::slurp_file() because it was causing 'sub redefined' errors, probably due to PerconaTest::slurp_file(). Add more PTVCDEBUG statements. 2012-08-27 17:10:42 -06:00
Daniel Nichter e98db38499 Fix v-c --quiet check. Test v-c in pqd since it doesn't have --quiet. 2012-08-23 10:22:43 -06:00
Daniel Nichter 639f47eb70 Add t/pt-archiver/version_check.t, v-c integration tests. Don't exit early if PTDEBUG && PTVCDEBUG (don't know what state the tool may be in). 2012-08-22 16:20:00 -06:00
Daniel Nichter 66f1bdf403 Change staging.upgrade.percona.com to $ENV{PERCONA_VERSION_CHECK_URL} || http://v.percona.com. 2012-08-22 15:10:33 -06:00
Daniel Nichter ee583ba729 Add $ENV{PERCONA_VERSION_CHECK}=0 to PerconaTest so tests don't version-check. Implement v-c in half the tools. Make util/update-modules clean up its temp files. 2012-08-21 16:15:44 -06:00
Daniel Nichter a95aa2b3bc Put everything in Pingback::version_check(). Change HTTP::Micro to HTTPMicro in pingback(). Simplify time_to_check() a little and add more debug. Fix Pingback.t now that client response doesn't have TYPE and no response causes die. 2012-08-21 15:06:28 -06:00
Brian Fraser fraserb@gmail.com 615c5ad508 Fix several test failures by doing s/HTTP::Micro/HTTPMicro/ 2012-08-21 14:37:10 -03:00
Daniel Nichter 8db5b77a4e Change HTTPMicro to HTTP::Micro in Pingback to avoid 'subroutine redefined' errors. 2012-08-21 08:19:52 -06:00
Daniel Nichter 616a98f86c Add --[no]version-check, VersionCheck, Pingback, and HTTPMicro to tools having the version check feature. 2012-08-17 16:25:56 -06:00
Daniel Nichter 272473348c Remove _d from Percona::Toolkit because I can't get it to export correctly. Put Percona::Toolkit in most tools. 2012-08-17 12:35:12 -06:00
Daniel Nichter f8c375a249 Build percona-toolkit-2.1.3 2012-08-03 19:41:41 +01:00
Brian Fraser ab8d26df4b Merged fix-883098-extra-processlist-fields 2012-08-02 15:12:59 -03:00
Brian Fraser ce0ec9d4bd Merged fix-doc-bugs-1016127-934310-937225-1016114 2012-08-02 15:10:45 -03:00
Daniel Nichter c80123f485 Merge fix-953141-recursion-method-array 2012-08-02 12:01:34 -06:00
Daniel Nichter e6d31a666a Rewrite how MasterSlave handles --recursion-methods. 2012-08-02 10:57:36 -06:00
Brian Fraser 53a7537d11 Updated modules for all tools 2012-08-02 09:54:25 -03:00
Brian Fraser fraserb@gmail.com 4014b0f220 Updated the modules for all tools that use Processlist 2012-08-01 18:44:20 -03:00
Brian Fraser fraserb@gmail.com ba6253545d Merged fix-821703-processlist-null-state 2012-07-30 16:48:15 -03:00
Brian Fraser bfa5f488fa Merged new-versionparser 2012-07-20 17:25:10 -03:00
Daniel Nichter 785de0cf57 Merge pt-kill-log-dsn. 2012-07-19 11:20:29 -06:00
Daniel Nichter 436eeac077 Move certain vars to outer scope to avoid Perl 5.8 scoping bug. 2012-07-19 10:20:28 -06:00
Brian Fraser 28894c3f1e Processlist.pm: parse_event assumed that STATE couldn't be NULL.
Probably an oversight, since the rest of the library already
dealt with that by treating it as an empty string.
2012-07-19 11:06:17 -03:00
Brian Fraser fraserb@gmail.com d826c7168b Merged fix-984915-unchecked-do-calls-dsnparser 2012-07-14 23:58:17 -03:00
Brian Fraser fraserb@gmail.com 27db3bc8cf Update the code to work on current trunk.
Changes for 941469 conflicted with this fix, so this had to be updated.
2012-07-14 23:31:05 -03:00
Brian Fraser 541d001d2a Updated modules 2012-07-13 01:25:31 -03:00
Brian Fraser f558b4b9da Fix 984915: DSNParser does not check return value of do() calls 2012-07-12 22:42:54 -03:00
Daniel Nichter 4430cfabb5 Retry for an hour to get proclist; retry KILL once. 2012-07-12 17:05:25 -06:00
Daniel Nichter b1c6bba43a Test that pt-kill reconnects using new util/kill-mysql-process. Fix optional DSN by adding magical options rule. 2012-07-12 16:49:15 -06:00
Daniel Nichter dab2e5c692 Add NAME_lc arg to Cxn to prevent it from being set. Use Cxn in pt-kill to retry lost connections. Add support for pt-kill DSN. 2012-07-12 13:52:52 -06:00
Brian Fraser f9a29fed37 Updated all the tools to use the new VersionParser 2012-07-11 15:12:52 -03:00
Daniel Nichter 6d71b91bfe Build percona-toolkit-2.1.2 2012-06-12 07:06:39 -07:00
Brian Fraser fraserb@gmail.com 846f253661 Update all the modules 2012-06-11 22:08:42 -03:00
Baron Schwartz 47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -04:00
Brian Fraser fraserb@gmail.com 20d6ccff9e Fix for 923896 2012-05-27 23:28:35 -03:00
Daniel Nichter c670ac4ba4 Update DSNParser in all tools. 2012-05-24 11:25:20 -06:00
Brian Fraser fraserb@gmail.com e380962876 pt-kill: Daniel's second review 2012-05-01 20:10:00 -03:00
Brian Fraser fraserb@gmail.com 4e1dc7f727 pt-kill: Changes as per Daniel's review. 2012-05-01 14:14:48 -03:00
Brian Fraser fraserb@gmail.com 85756b0e94 pt-kill: Add a --log-dsn option.
This is customer issue 23049.
2012-05-01 03:27:11 -03:00
Daniel Nichter c3724aedca Build percona-toolkit-2.1.1 2012-04-03 12:42:45 -07:00
Daniel Nichter f4c978c957 Build percona-toolkit-2.0.4 2012-03-07 15:41:54 -08:00
Daniel Nichter 78112fccec Update Daemon in all tools (bug 944420). 2012-03-07 14:44:43 -07:00
Brian Fraser fraserb@gmail.com 88ee1dca97 Fix for https://bugs.launchpad.net/percona-toolkit/+bug/941225 2012-03-06 10:56:08 -03:00
Daniel Nichter 51acd37ff2 Fix bad grammar in pt-kill docs. 2012-03-02 09:54:19 -08:00
Daniel Nichter a17cbc8bd8 Add --filter to pt-kill and allow arbitrary --group-by. 2012-02-15 11:09:29 -07:00
Daniel Nichter df33c3cbcf Merge lp:~percona-toolkit-dev/percona-toolkit/fix-stdin-bug-894255. 2012-02-10 09:17:56 -07:00
Daniel Nichter 4d5d4da4b7 Build percona-toolkit-2.0.3 2012-02-03 16:25:29 -07: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 dd44a9b851 Add --test-matching to replace testing via STDIN/ARGV. 2012-01-25 11:37:10 -07:00
Daniel Nichter 0f1687608d Ignore SIGCHLD to avoid zombies. 2012-01-24 09:55:18 -07:00