Commit Graph

1423 Commits

Author SHA1 Message Date
Brian Fraser
a3dd5d7ba6 Split the QueryHistory tests out of QueryReview.t 2013-03-07 11:29:30 -03:00
Brian Fraser
6e964261b7 update-samples on pt-ms 2013-03-06 14:13:05 -03:00
Brian Fraser
6096dd05b2 Move the --history tests out of review.t 2013-03-06 13:53:22 -03:00
Brian Fraser
fb346bee4a Make review.t use output() rather than shelling out 2013-03-06 13:30:14 -03:00
Brian Fraser
0efad73f3e Rearrange mysql options so that --defaults-file is always first, and remove default: localhost from pt-ms and pt-stalk, since parse_options.sh deals with defaults + config files for mysql options poorly 2013-03-06 12:52:17 -03:00
Brian Fraser
188fe79ef1 Fix for 1008796: Several tools lack --database 2013-03-06 12:11:54 -03:00
Daniel Nichter
627b4fab70 Note in --tries when/why certain ops are affected. Re-alphabetize the options. 2013-03-05 16:33:38 -07:00
Daniel Nichter
c1f3e130b1 Update samples with new output for --tries. 2013-03-05 16:25:12 -07:00
Daniel Nichter
eefaeeb8cc Change --retries to --tries and enhance with per-operation format that also allows setting the wait between tries. 2013-03-05 16:18:02 -07:00
Daniel Nichter
3a5b0e053b Remove --zero-admin; always on now. Change --output=query to =report and update the docs. 2013-03-05 15:05:55 -07:00
Daniel Nichter
6f6cb1f4a5 Merge Brian's change in r539. 2013-03-05 10:01:08 -07:00
Daniel Nichter
c6068aa285 Clean up docs. Clean up t/pt-query-digest/since_until.t. review.t needs to be fixed and cleaned up (i.e. use pt_query_digest::main() instead of shelling out, split off --history tests into history.t, etc.). 2013-03-05 09:59:33 -07:00
Brian Fraser
ebd83f5ba4 Minor fixes for compat 2013-03-05 11:32:21 -03:00
Brian Fraser
d8701a3f3e Fix for 1086018: pt-config-diff needs to parse wsrep_provider_options 2013-03-05 11:27:56 -03:00
Brian Fraser
01834d35df Make some internal values show up nicer in --output json 2013-03-05 02:54:48 -03:00
Brian Fraser
91052e7198 Make some internal values show up nicer in --output json 2013-03-05 02:50:13 -03:00
Daniel Nichter
84adf451de Minor doc correction. 2013-03-04 18:24:21 -07:00
Daniel Nichter
660a049fa4 Update pt-stalk docs more. 2013-03-04 18:20:20 -07:00
Daniel Nichter
35ab06febe Fix typos in docs. 2013-03-04 17:56:11 -07:00
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
Daniel Nichter
0da15fb083 Make --no-stalk _not_ force --iterations and other options. Extensively update the tool's docs. 2013-03-04 15:57:52 -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
f09767e37f New, simpler RISKS section. Fix spelling errors. 2013-03-04 11:08:22 -07:00
Daniel Nichter
1e0edd713e Update DSNParser in all tools. 2013-03-04 10:28:43 -07:00
Daniel Nichter
f6c1c63f78 Fix important typo. 2013-03-02 13:11:00 -07:00
Daniel Nichter
1d42a09196 Remove --lock-wait-timeout from pt-table-checksum; make innodb_lock_waitout=1 a --set-vars default. Update all the ptc tests. 2013-03-01 19:02:13 -07:00
Daniel Nichter
ad7207139c Update OptionParser and DSNParser in all tools. 2013-03-01 18:57:20 -07:00
Daniel Nichter
4dacb9805c Update --set-vars and ->prop() in all tools. 2013-03-01 18:53:28 -07:00
Brian Fraser
310867b301 Removed --aux-dsn, enabled passing an optional dsn with the extra arguments 2013-03-01 17:03:05 -03: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
Daniel Nichter
2512add6e6 Fix typo. 2013-02-28 18:09:23 -07:00
Daniel Nichter
4877a10352 Retry rebuilding fk constraints. Update --retries docs. 2013-02-28 18:03:40 -07:00
Daniel Nichter
557a63232b Document and test --plugin. 2013-02-28 17:27:39 -07:00
Daniel Nichter
5b56f8fccc Retry metadata locks. Add --plugin to make testing this easier. Print --statistics in cleanup tasks. Add a helper script for myself: sandbox/set-mysql. 2013-02-28 12:29:17 -07:00
Daniel Nichter
b1e54cce8e Merge latest 2.2 for MySQL 5.6 fixes. 2013-02-28 08:54:31 -07:00
Daniel Nichter
e290d91fec Fix t/pt-fifo-split/pt-fifo-split.t. 2013-02-27 22:23:07 -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
785fbd6d6b Don't manually re-set AutoCommit. Use =for comment instead of inline MAGIC. 2013-02-27 16:39:51 -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
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
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
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