Commit Graph

810 Commits

Author SHA1 Message Date
Brian Fraser
4eda3039dd Merged fix-1034717-divison-by-zero-base-1 2012-08-24 19:50:34 -03:00
Brian Fraser
ed7b497590 Report Rated PBW for fio cards 2012-08-24 19:39:58 -03:00
Brian Fraser
9f79d4b7ba v-c: Updated to identify and report every instance, and to skip instances already version-checked that day 2012-08-24 19:09:59 -03:00
Daniel Nichter
d016b170b3 Merge ptc-run-time 2012-08-24 15:27:11 -06:00
Brian Fraser
878528b859 Fixed report_fio_minus_a and fio_status_minus_a to handle ioMemory and report internal temp, also fixed some bugs 2012-08-24 18:23:30 -03:00
Brian Fraser
24ae24a64e Fix for 952722: pt-summary to show information about Fusion-io cards 2012-08-24 17:01:47 -03:00
Daniel Nichter
1bf0cfa08a Merge sh-not-bash-bug-1035260 2012-08-24 11:43:05 -06:00
Daniel Nichter
866c68df9c Merge right-sth-bug-1039184 2012-08-24 10:52:21 -06:00
Brian Fraser
36a0dff6ee Pingback: Update the file-checking function 2012-08-24 13:14:46 -03:00
Brian Fraser
c444384c6c Fix for 1009510 and 1039569: pt-table-checksum doesn't check that tables exist on all replicas / shouldn't die if it can't create db/table 2012-08-23 03:14:14 -03:00
Brian Fraser
5ddef54fc8 PerconaTest::full_output: Use different files for STDERR and STDOUT to avoid overwriting data 2012-08-23 03:12:21 -03: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
daab851dc1 TableSyncer: precedence and output issue in TableSyncer 2012-08-22 17:10:59 -03: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
e52ca00348 Fix for 1038276: ChangeHandler doesn't quote varchar columns with hex-looking values 2012-08-22 16:19:43 -03:00
Daniel Nichter
a776646673 Strip newlines from values. 2012-08-22 08:20:59 -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
e5b99fb41c Pingback::_touch should update the [ma]time of the file 2012-08-21 17:00:32 -03: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
01937e6d9f Implemented Pingback::time_to_check() 2012-08-21 16:50:12 -03: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
2544a554dd Don't die if there's no results_sth for a host. 2012-08-20 13:57:59 -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
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
Daniel Nichter
75295707de Disable tty check. 2012-08-15 13:06:38 -06:00
Daniel Nichter
b5d7e7d0b6 More debug hacks. 2012-08-15 12:58:55 -06:00
Daniel Nichter
53c382730a See if STDIN is tty. 2012-08-15 12:52:34 -06:00
Daniel Nichter
523a74da36 More debug hacks. 2012-08-15 12:27:37 -06:00
Daniel Nichter
d00702f193 Even more debug hacks. 2012-08-15 11:54:01 -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
4e4a28bff6 Debug hack for ReadKeyMini::cooked(). 2012-08-15 10:31:18 -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
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