Commit Graph

2988 Commits

Author SHA1 Message Date
Daniel Nichter
519ee42924 Fix MySQL 5.6 data again, this time manually loading all InnoDB tables in mysql db. 2013-02-26 22:55:29 -07:00
Daniel Nichter
140611c92e Use the same blurb for --pid in all tools. 2013-02-26 17:01:17 -07:00
Daniel Nichter
aed0140d64 Remove --daemonize from pt-config-diff. 2013-02-26 16:57:02 -07:00
Daniel Nichter
ae5280c232 Update Cxn in all tools and set parent accordingly. 2013-02-26 16:45:45 -07:00
Daniel Nichter
a21c36ac99 Test that ::parent keeps the dbh alive for the child. 2013-02-26 16:34:48 -07:00
Daniel Nichter
abcfd2c43f Merge pt-dl-logger-2.2. 2013-02-26 08:13:09 -07:00
Brian Fraser
934709abad Fix tests broken by the previous commit 2013-02-26 12:03:12 -03:00
Daniel Nichter
02a11d877f Make pt-dl-logger retry its --dest INSERT statement. Update the tool's docs. 2013-02-25 18:06:27 -07:00
Daniel Nichter
8b428e28a1 Mini-overhaul pt-deadlock-logger: change --interval default from undef to 30, add --iterations, remove --print, add --quiet, use explicit --columns default, remove --collapse, change default --clear-deadlocks table to percona_schema.clear_deadlocks, refactor the code, use Cxn and Runtime, remove some global vars. 2013-02-25 17:19:32 -07:00
Daniel Nichter
6825fa7f3b Add parent attrib to Cxn to fix forking after --daemonize. 2013-02-25 17:16:20 -07:00
Brian Fraser
4b860cbd7b pqs: Removed tcpdump-errors, made the library always save the errors in a tempfile 2013-02-25 15:59:01 -03:00
Daniel Nichter
6aef3e7028 Mini-overhaul for pt-fk-error-logger: make --run-time standard, remove --print, add --quiet, add --iterations, change default --interval to 30, use Cxn and Runtime, reconnect to MySQL, eval the critical operation, rewrite/update the docs. 2013-02-25 11:55:06 -07:00
Daniel Nichter
65833726fd Add "SPECIAL OPTION TYPES" to percona-toolkit.pod. 2013-02-25 11:52:54 -07:00
Daniel Nichter
c3740b7aac Add Cxn::lost_connection(). Rename runtime to run_time in Runtime.pm. 2013-02-25 11:52:22 -07:00
Brian Fraser
1d9b013bab pqd: Removed show-all, shorten, select & print-iterations 2013-02-25 13:10:03 -03:00
Brian Fraser
78cae8b91b Removed --check-attributes-limit 2013-02-25 12:37:23 -03:00
Brian Fraser
5e8f369ab7 pqd: Replaced --print with --output slowlog 2013-02-25 12:27:13 -03:00
Brian Fraser
3c02b4df9c Rebased clean-up-pqd-2.2 2013-02-25 12:18:06 -03:00
Brian Fraser
8e449a1c83 pqd: Remove --type pglog, memcached, and http 2013-02-25 12:13:35 -03:00
Brian Fraser
9e2ce2197f pt-ms & pt-stalk: Enable the standard mysql options 2013-02-25 11:21:46 -03:00
Daniel Nichter
a23729c533 Remove unused modules like SysLogParser and PgLogParser. Start re-writing the docs. Remove some options to indicate where to simplify the tool more. 2013-02-22 11:51:21 -07:00
Daniel Nichter
45a21acc0c Merge enable-version-check-by-default. 2013-02-22 10:47:57 -07:00
Daniel Nichter
b286da993f Check for ../../.bzr for when a tool is ran as a module in a test. 2013-02-22 08:00:55 -07:00
Daniel Nichter
550bb3887a Add force => ->got('version-check') to tools. 2013-02-21 16:37:25 -07:00
Daniel Nichter
831197ba07 Update t/pt-query-digest/version_check.t. 2013-02-21 16:33:45 -07:00
Daniel Nichter
58dc45cf69 Update VersionCheck in all tools. 2013-02-21 16:12:09 -07:00
Daniel Nichter
364e08229d Test that --version-check works/is enabled by default. 2013-02-21 16:07:33 -07:00
Daniel Nichter
fc851caec8 Simplify checking for .bzr/ to auto-disable --version-check in dev and test envs. Update t/pt-archiver/version_check.t. Need to update all other tools... 2013-02-21 15:59:49 -07:00
Brian Fraser
f06f930498 pt-heartbeat: Add an option to handle running on servers with read_only=1 2013-02-21 08:11:28 -03:00
Brian Fraser
4534981913 VersionCheck: Skip running if called from our bzr repo 2013-02-21 04:41:57 -03:00
Daniel Nichter
acf25127ad Update POD. 2013-02-20 19:45:12 -07:00
Daniel Nichter
87590982e1 Rename basics.t to compare_hosts.t. 2013-02-20 19:05:02 -07:00
Daniel Nichter
678ef00516 Change Stats header lines from = to - because it's not a query class. 2013-02-20 19:00:32 -07:00
Daniel Nichter
4eedd5ecc9 Implement Hosts section for each type of use-case. 2013-02-20 18:58:20 -07:00
Daniel Nichter
cfdfbd096b Update sample output with new report sections. 2013-02-20 18:24:12 -07:00
Daniel Nichter
cb9fe1fac3 Implement all MySQL log parsers. Add report sections, and --report. 2013-02-20 18:20:55 -07:00
Daniel Nichter
0fda528700 Test comparing results to host. 2013-02-20 11:41:42 -07:00
Daniel Nichter
4a4bee9cad Add FakeSth.pm. 2013-02-20 10:58:06 -07:00
Daniel Nichter
b591f0189b First working but not tested comparing against reference results. 2013-02-20 10:56:42 -07:00
Daniel Nichter
a4d771e991 Have ResultWriter.pm save the current db. 2013-02-20 09:37:43 -07:00
Daniel Nichter
144b4794b9 Rename results file results to rows and meta to results. Test more --save-results. 2013-02-20 09:20:17 -07:00
Daniel Nichter
92194f1711 Update samples and remove old tests. 2013-02-20 08:38:42 -07:00
Daniel Nichter
e62a02e0d3 Start testing --save-results. Let $cmd be a file in PerconaTest.pm. Remove 'at ... line N' from EventExecutor.pm errors. 2013-02-20 08:27:49 -07:00
Daniel Nichter
4cb51140f1 Scaffolding for saving and reading reference results. 2013-02-19 19:45:16 -07:00
Daniel Nichter
aeb26300cb Implement --upgrade-table (instead of --sys-schema). 2013-02-19 18:18:42 -07:00
Daniel Nichter
64d381d34a Test error diffs. 2013-02-19 17:22:52 -07:00
Daniel Nichter
dcdeb606c8 Test pt-upgrade host-to-host. Implement diff_query_times(). Export $test_diff from PerconaTest instead of doing diag() in no_diff(). 2013-02-19 17:03:50 -07:00
Daniel Nichter
bb3dfd27fd Remove .moved files. 2013-02-19 13:04:18 -07:00
Daniel Nichter
07b818b730 Merge p:~percona-toolkit-dev/percona-toolkit/fix-1087319-quoter-multiple-nulls 2013-02-19 13:01:58 -07:00
Daniel Nichter
1726cf2bb8 Hopefully redirect MySQL 5.6 warning about -ppassword in pt-table-checksum/error_handling.t to diag. 2013-02-19 07:58:33 -07:00