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
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
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
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
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
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
8e449a1c83
pqd: Remove --type pglog, memcached, and http
2013-02-25 12:13:35 -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
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
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
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
40fd007644
Update Quoter in all tools again.
2013-02-18 12:53:15 -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
a07c0c0a6a
Updqte Quoter in all tools.
2013-02-18 12:31:18 -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
07810ca867
Change --version-check to --[no]version-check, update POD text and how version_check() is called.
2013-02-13 16:06:31 -07:00
Brian Fraser
fd16bad016
pt-table-sync: Removed MySQLDump
2013-02-12 17:48:25 -03:00
Daniel Nichter
b6bd78d205
Rename Pingback.pm to VersionCheck.pm.
2013-02-11 19:02:59 -07:00
Brian Fraser
c02844a9d6
Merged merge-VersionCheck-Pingback
2013-02-11 22:21:53 -03:00
Brian Fraser
6bf3a35a1a
Merged use-lmo.
...
This commit renames our fork of Mo to Lmo, since the two have diverged
a huge deal. The merged branch streamlined Lmo a great deal as well,
for maintainability.
2013-02-11 21:19:56 -03:00