Commit Graph

1083 Commits

Author SHA1 Message Date
Daniel Nichter
f7f63555ee Add lib/bash/subshell.sh and use in pt-stalk to fix/improve subprocess waiting. 2013-03-04 17:47:02 -07:00
Fernando Ipar
177c2aaef7 Changed collect so that innodb status is read from tmp file if the original output is truncated 2013-03-04 17:40:41 -02:00
Daniel Nichter
45813e082d Merge pt-osc-metadata-lock-bug-1113301. 2013-03-04 12:06:34 -07:00
Daniel Nichter
f0b7712528 Fix tests to work with new --set-vars, and change --lock-wait-timeout to --set-vars innodb_lock_wait_timeout in tests. 2013-03-02 10:17:23 -07:00
Brian Fraser
734deef881 Split --review and --history 2013-03-01 16:35:43 -03:00
Daniel Nichter
5e5943bd36 Change Run to Task. Add Percona/WebAPI/Exception/Resource.pm. 2013-03-01 09:47:49 -07:00
Daniel Nichter
5a34a0817e Fix bug 968596: rename NibbleIterator::chunk_size() to limit() and update ptc and pt-osc. 2013-02-28 19:26:04 -07:00
Brian Fraser
552fddb9a1 PerconaTest: use croak for slurp/load_file 2013-02-28 13:07:52 -03:00
Daniel Nichter
b1e54cce8e Merge latest 2.2 for MySQL 5.6 fixes. 2013-02-28 08:54:31 -07:00
Daniel Nichter
55049b8759 Fix Runtime.t and update it in all tools. 2013-02-27 19:23:08 -07:00
Daniel Nichter
c6958b497d First working enhanced --set-vars in pt-osc: no "default: ...", instead default values are under MAGIC_set_vars, picked up by OptionParser and passed to DSNParser. Also increaes --retries from 3 to 10. TODO: more testing. 2013-02-27 18:47:00 -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
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
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
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
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
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
4534981913 VersionCheck: Skip running if called from our bzr repo 2013-02-21 04:41:57 -03: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
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
07b818b730 Merge p:~percona-toolkit-dev/percona-toolkit/fix-1087319-quoter-multiple-nulls 2013-02-19 13:01:58 -07:00
Daniel Nichter
36e8696479 Update diff_rows.t and diff_warnings.t. 2013-02-18 19:27:06 -07:00
Daniel Nichter
11a4edd8e8 Fix lib/Sandbox.pm for MySQL 5.6 too: don't checksum system and stat tables. Update 5.6 data.tar.gz with default data from 5.6.10. 2013-02-18 17:34:01 -07:00
Daniel Nichter
6d1c96e445 Seralize empty list as undef. 2013-02-18 12:51:28 -07:00
Daniel Nichter
97f963c7f7 Remove warning from DSNParser if using UTF-8 and DBD::mysql < 3.0008 (r508). --version-check can catch this. 2013-02-18 12:44:02 -07:00
Daniel Nichter
6f735bfb3a Largely working, but un-tested, pt-upgrade 2.2 for host-to-host comparison. Add EventExecutor.pm. 2013-02-15 19:50:54 -07:00
Daniel Nichter
550a97b9c2 First working scaffolding and fondation of host-to-host comparison. 2013-02-14 19:33:58 -07:00
Daniel Nichter
8ecde260a7 Don't try https and http: use https if possible, else http. Lower timeout from 5 to 3 seconds. Start updating/fixing pt-archiver/version_check.t. 2013-02-14 09:41:52 -07:00
Daniel Nichter
877d1a3b26 Change version_check_file() to prefer global system dirs first. 2013-02-14 08:49:57 -07:00
Daniel Nichter
4545926556 Fix get_perl_module_version(). Add 'hours until next check' to debug output. 2013-02-14 08:28:18 -07:00
Daniel Nichter
6c79f4a5c1 Update, clean up VersionCheck. Update it all tools. 2013-02-13 20:57:39 -07:00
Daniel Nichter
0be24a3b8d Misc work-in-progress updates to pt-agent, Agent and Config resources. Config will change again. Make Client::put() return Location header like POST. 2013-02-13 13:45:52 -07:00
Daniel Nichter
13172a05dc Add untested warning to DSNParser if using UTF-8 and DBD::mysql < 3.0008. 2013-02-12 19:09:25 -07:00
Daniel Nichter
0fd4f27289 Simplify and re-test Quoter::(de)serialize_list(). 2013-02-12 12:58:26 -07:00
Daniel Nichter
e677ae8483 Update to 2.2 with VersionCheck, renamed from Pingback. 2013-02-11 19:06:31 -07:00
Daniel Nichter
b6bd78d205 Rename Pingback.pm to VersionCheck.pm. 2013-02-11 19:02:59 -07:00
Daniel Nichter
c1fe363631 Merge latest 2.2 with Lmo. 2013-02-11 18:57:07 -07:00
Brian Fraser
c02844a9d6 Merged merge-VersionCheck-Pingback 2013-02-11 22:21:53 -03:00