Commit Graph

820 Commits

Author SHA1 Message Date
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 7cd73be614 Merge 2.1 r364 (has lots of test fixes). 2012-08-22 15:00:19 -06:00
Brian Fraser d3eabbd511 Fix for the first bug in 1034717: Illegal division by zero if base == 1 2012-08-22 17:03:35 -03:00
Brian Fraser f8fa5cd3e3 Updated Quoter and ChangeHandler in all the modules 2012-08-22 16:21:35 -03:00
Daniel Nichter 1c838e283f Remove useless 'Reconnected to slave' message in pt-slave-delay and fix standard_options.t so output doesn't show up as test errors. 2012-08-22 11:08:47 -06:00
Daniel Nichter a776646673 Strip newlines from values. 2012-08-22 08:20:59 -06:00
Daniel Nichter 50f218a288 Implement version-check in the remaining tools. 2012-08-21 16:24:29 -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
Daniel Nichter 2d41598ea4 Add PTVCDEBUG and die instead of returning in pingback() so PTVCDEBUG can report better info. 2012-08-21 13:54:48 -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 6397b3d897 Handle undef values in reports, and eval all reports. 2012-08-21 09:24:19 -06:00
Daniel Nichter 8db5b77a4e Change HTTPMicro to HTTP::Micro in Pingback to avoid 'subroutine redefined' errors. 2012-08-21 08:19:52 -06:00
Brian Fraser fraserb@gmail.com c2b006eeaf Fix for 1038995: pt-stalk notify-by-email fails 2012-08-20 19:22:31 -03:00
Daniel Nichter ca9bee7ae5 Don't count missing sth as diffs. 2012-08-20 14:21:07 -06:00
Daniel Nichter fe6e87f1d5 Update CompareResults in pt-upgrade. 2012-08-20 14:11:09 -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 4fe1a61f0e Add lib/Percona/Toolkit.pm for $Percona::Toolkit::VERSION. Put that in pt-diskstats. Add util/tool-header to update %INC magic when bin/update-modules is ran. 2012-08-17 11:27:41 -06:00
Brian Fraser c3fe755615 Fix for 1037211: QueryParser fails to distill LOCK TABLES in lowercase 2012-08-16 19:18:14 -03:00
Brian Fraser 0ac09e77b4 Fix 1036747: Remove priv checks from pt-table-sync 2012-08-16 18:06:49 -03:00
Brian Fraser 9a788e16df Fix for 930693: ChangeHandler and text columns with just whitespace 2012-08-16 14:07:58 -03:00
Daniel Nichter 1481494ef1 Merge lp:~percona-toolkit-dev/percona-toolkit/staging-test-suite-error-fixes r362 2012-08-15 21:24:47 -06:00
Daniel Nichter 4bd763b52c Merge staging-test-suite-error-fixes 2012-08-15 19:43:52 -06:00
Daniel Nichter 310105b976 Eval checking each table in case the table goes away. 2012-08-15 16:35:45 -06:00
Daniel Nichter 3369a6c37d Don't auto-vivify clustered_key hashref in PTDEBUG. 2012-08-15 16:24:19 -06:00
Brian Fraser d92c85733e CleanupTasks: Older Perl compat 2012-08-15 17:28:52 -03:00
Daniel Nichter 8c963bb007 Merge lp:~percona-toolkit-dev/percona-toolkit/test-suite-noise 2012-08-15 13:30:50 -06:00
Daniel Nichter 9d809ce5ea Use int($flags) to prevent fcntl(F_SETFL) error. Clean up ReadKeyMini.pm and Diskstats.t. 2012-08-15 13:28:14 -06:00
Brian Fraser d2b854cd9d CleanupTask: Restore STDERR and STDOUT to what they were when the object was created 2012-08-15 14:00:52 -03:00
Daniel Nichter a42c6abaec Set DSN F copy to yes in pt-table-checksum. 2012-08-14 15:51:48 -06:00
Daniel Nichter 3602bb252f Use non-Bashism indirect reference in parse_options. Change $@ to ${@:-} and update parse_options in all tools. 2012-08-14 11:46:47 -06:00
Daniel Nichter 9ddf90eeca Use ${@:-""} rather than $@, prevents error on ksh when no opts given. Remove set +u to see if it is no longer needed. 2012-08-14 11:07:10 -06:00
Daniel Nichter 4a44794d07 Use sh instead of bash for pt-mysql-summary. Set +u around Bashism check. 2012-08-14 10:39:50 -06:00
Daniel Nichter b5ba79bb6d Collect df -k instead of df -h. Set log_error with abs path to fix failing t/lib/bash/collect.t test. 2012-08-14 09:11:41 -06:00
Daniel Nichter 676bb28365 Merge ptc-check-slave-lag-clarification-bug-954588 2012-08-14 08:50:28 -06:00
Daniel Nichter a657f5bc3a Document DROP FOREIGN KEY constraint_name limitation. 2012-08-13 15:19:57 -06:00
Daniel Nichter 207aca7f03 Document REPLICA CHECKS and make --check-slave-lag clearer. 2012-08-13 14:01:32 -06:00
Brian Fraser fraserb@gmail.com fdcbbb63fc Bug 942114: bad "find" usage in pt-stalk 2012-08-13 12:39:28 -03:00
Brian Fraser fraserb@gmail.com 7f9f84a6d0 shell tools: Quote the arguments to tr 2012-08-13 12:23:18 -03:00
Brian Fraser c08c0c6a7a Fix for 1035311: pt-diskstats shows wrong device name 2012-08-10 15:36:34 -03:00
Daniel Nichter cdc51df9e6 Fix HTTPMicro POST: attach content to request. Validate type. 2012-08-10 11:00:26 -06:00
Daniel Nichter 70c295bc0a Make Pingback::pingback() do all the work, return list of advices (suggestions). More Pingback tests. Rename --check-for-updates to --version-check and document. Make VersionCheck::parse_server_response() optionally not split vars, so the same proto can be used for server advice lines. 2012-08-09 16:44:47 -06:00
Brian Fraser 1370490fb6 Reduce the timeout to 5 seconds 2012-08-09 17:53:35 -03:00
Brian Fraser 5af53d2665 Add a prototype implementation of the pingback feature to ptc 2012-08-09 17:43:48 -03:00
Brian Fraser fraserb@gmail.com d77a3a19f6 Fix for 1028710: floor() fails on floor(log(1000)/log(10)) 2012-08-06 11:37:51 -03: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