Commit Graph

555 Commits

Author SHA1 Message Date
Daniel Nichter
afd0b2a713 Merge lp:~percona-toolkit-dev/percona-toolkit/collect-without-stalking. 2012-03-02 08:16:55 -08:00
Daniel Nichter
cf910bc400 Update safeguards lib in pt-stalk re bug 940503. 2012-03-02 08:07:29 -08:00
Daniel Nichter
b989b7c4c8 Tweak error message. 2012-03-02 07:51:28 -08:00
Daniel Nichter
681a45b7be Don't catch our own die. 2012-03-02 07:46:18 -08:00
Daniel Nichter
9bff1b4e3e Check and die if pt-table-checksum ran with DBD::mysql v4.014. 2012-03-01 18:03:05 -08:00
Daniel Nichter
a83e97a821 Parse InnoDB_trx_id as a string. 2012-02-23 09:34:17 -07:00
Brian Fraser fraserb@gmail.com
3cfb1c0af7 pt-mysql-summary 2.0 2012-02-22 08:45:26 -03:00
Daniel Nichter
8e9e8eb7a6 Test and fix space-flattening bug. 2012-02-21 13:22:56 -07:00
Daniel Nichter
7c76b25179 Fix basics.t so it doesn't break replication. Add IF EXISTS to DROP TABLE statements. 2012-02-21 12:34:21 -07:00
Daniel Nichter
cb7a7946d8 Change pt-query-profiler ref in pt-archiver docu to mk-query-profiler. 2012-02-21 10:38:30 -07:00
Daniel Nichter
75457eaadd Test, update modules, and fix bug 873598 in pt-online-schema-change. 2012-02-21 09:06:08 -07:00
Daniel Nichter
610a8dd0bf Use secure tmp dir instead of /tmp. 2012-02-17 10:04:38 -07:00
Daniel Nichter
cd17a20119 Add and test --[no]stalk to pt-stalk. Fix ps in pt-stalk tests. Add PerconaTest::wait_for_sh(). 2012-02-16 13:32:46 -07:00
Daniel Nichter
c98c352b7d Fix typo in pt-stalk docu. Add check for this to util/check-tool and fix other tools. 2012-02-16 11:55:44 -07:00
Daniel Nichter
a17cbc8bd8 Add --filter to pt-kill and allow arbitrary --group-by. 2012-02-15 11:09:29 -07:00
Daniel Nichter
df33c3cbcf Merge lp:~percona-toolkit-dev/percona-toolkit/fix-stdin-bug-894255. 2012-02-10 09:17:56 -07:00
Brian Fraser fraserb@gmail.com
ef1179cfaa Merge with Baron's doc branch https://code.launchpad.net/~percona-toolkit-dev/percona-toolkit/pt-query-advisor-docs 2012-02-08 11:28:49 -03:00
baron@percona.com
04cb40a815 Update pt-query-advisor documentation, especially the rule text 2012-02-07 23:42:48 -05:00
Daniel Nichter
298385167e Do not use precision and scale. Use sandbox 12348 instead of 12347. Call pt_upgrade_main() instead of tool via cmd line in basics.t. 2012-02-07 12:39:25 -07:00
Brian Fraser
0705992954 pt-query-advisor: Add a '--report-type json' option.
As per https://blueprints.launchpad.net/percona-toolkit/+spec/pt-query-advisor-and-json
2012-02-07 11:07:54 -03:00
Daniel Nichter
a08afff18b Use VersionParser to check for MySQL 5.1 before checking binlog_format. 2012-02-06 13:45:54 -07:00
Daniel Nichter
1cd570a11b Merge lp:~percona-toolkit-dev/percona-toolkit/fix-lc-bug-927771. 2012-02-06 13:39:52 -07:00
Daniel Nichter
2dfa2fd54f Wrap check for binlog_format in version directive to avoid error on MySQL 5.0. 2012-02-06 13:39:11 -07:00
Daniel Nichter
df4662ce51 Compare index names lc but save them in their original case. 2012-02-06 13:29:08 -07:00
Daniel Nichter
4d5d4da4b7 Build percona-toolkit-2.0.3 2012-02-03 16:25:29 -07:00
Daniel Nichter
2c48190676 Remove unused --[no]automatic-headers from pt-diskstats. Also remove extra headers and s/MKDEBUG/PTDEBUG/g, and add ENVIRONMENT doc section. 2012-02-03 16:20:53 -07:00
Daniel Nichter
b3f0f414e4 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-diskstats-2.0. 2012-02-03 15:25:25 -07:00
Daniel Nichter
f517675eb4 Compare lc(index) everywhere. 2012-02-03 11:38:20 -07:00
Daniel Nichter
0ac6c35211 Fix _pidof() calls in collect.sh. Update Bash libs in pt-ioprofile. 2012-02-03 10:49:27 -07:00
Daniel Nichter
3f14a60f5d Fix pt-ioprofile so it works without a file. Add more tests. 2012-02-03 10:42:06 -07:00
baron@percona.com
8631fbff09 explain the even-intervals rule in the docs 2012-02-03 12:24:59 -05:00
baron@percona.com
dcc6b501d1 fix merge conflict in docs 2012-02-03 12:10:02 -05:00
baron@percona.com
24203f675d docu changes 2012-02-03 12:09:00 -05:00
Brian Fraser
27323776a8 Applied Baron's patch, which changes how qtime and stime are calculated.
Also includes a second attempt at fixing the $Diskstats::printed_lines bug,
and fixed how the timestamp is chosen if --show-timestamps is in effect.
2012-02-03 14:00:40 -03:00
Brian Fraser
0a25bd038b Merge with Baron's branch, and changes as per the new spec/docs. 2012-02-03 12:11:14 -03:00
baron@percona.com
6770f1a9dc clarify documentation, serving as a spec for Brian 2012-02-02 23:13:38 -05:00
baron@percona.com
88fc42514f merge Brian's changes 2012-02-02 20:33:23 -05:00
Brian Fraser
d11856d48f Moved the calculation of {read,write}_ios_sec around a bit and marked it as TODO 2012-02-02 19:38:03 -03:00
Daniel Nichter
23f1716f39 Remove set -x from pt-summary and pt-ioprofile. Update libs in pt-ioprofile. 2012-02-02 13:47:51 -07:00
Daniel Nichter
3b823df674 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-bug-919352. 2012-02-02 13:37:39 -07:00
Daniel Nichter
3ce22bce88 Reword error message. 2012-02-02 13:29:45 -07:00
Brian Fraser
842bfd47ba Bug fix for https://bugs.launchpad.net/percona-toolkit/+bug/919352
Plus tweaking from Baron's comment in that bug.
2012-02-02 17:05:37 -03:00
Daniel Nichter
1a1bf2bcd5 Update safeguards.sh in pt-stalk. 2012-02-02 12:17:33 -07:00
Daniel Nichter
7be99c5140 Add _which() to alt_cmds.sh and update pt-stalk. 2012-02-02 12:04:28 -07:00
Daniel Nichter
c40e5db1bf Fix lib tests for MySQL 5.0. 2012-02-02 10:56:55 -07:00
Daniel Nichter
e67020addb Merge back recent changes. 2012-02-02 09:46:28 -07:00
Daniel Nichter
85fdb732c8 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-stalk-2.0 and, previously merged into that, lp:~percona-toolkit-dev/percona-toolkit/use-mktemp-871438. 2012-02-02 09:38:11 -07:00
baron@percona.com
d59a73a756 fix bug 925477 2012-02-02 11:23:24 -05:00
Daniel Nichter
02812c068c Remove set -u from pt-mysql-summary and rm tmp dir last. 2012-02-02 08:46:31 -07:00
Daniel Nichter
e64f23a2e3 Don't use random file in mk-mext. Quote file names. Remove tmp dir. 2012-02-02 08:44:38 -07:00