Commit Graph

152 Commits

Author SHA1 Message Date
Daniel Nichter
b20316d50f Pre-build check and update. 2013-03-14 10:20:35 -07:00
Daniel Nichter
de7b8ca0e5 Merge 2.1.9, including its s/Percona Inc/Percona Ireland Ltd/ changes. 2013-03-14 10:58:03 -06:00
Daniel Nichter
5a5fe75130 Merge pt-stalk-1019648. 2013-03-12 15:23:02 -06:00
Daniel Nichter
7f728acddd Move code to get InnoDB status into its own sub. 2013-03-12 15:08:25 -06:00
Daniel Nichter
e3346332e1 Merge pt-ms-pt-stalk-standard-mysql-options. 2013-03-09 11:57:41 -07:00
Daniel Nichter
a8aac7f6b3 Alphabetize pt-mysql-summary and pt-stalk options. 2013-03-09 11:47:10 -07:00
Daniel Nichter
e1e7bf96c7 Update the ABOUT PERCONA TOOLKIT secction in all tools. 2013-03-09 09:57:54 -07:00
Daniel Nichter
157c7ad5d5 Update RISKS section in all tools. 2013-03-09 09:50:49 -07: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
ebd83f5ba4 Minor fixes for compat 2013-03-05 11:32:21 -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
140611c92e Use the same blurb for --pid in all tools. 2013-02-26 17:01:17 -07:00
Brian Fraser
9e2ce2197f pt-ms & pt-stalk: Enable the standard mysql options 2013-02-25 11:21:46 -03:00
Daniel Nichter
b4cfe5b26c Fix error caused on some boxes by using diff when it's not defined. 2013-01-24 12:08:09 -07:00
Daniel Nichter
26cc08d3d9 Fix default log level in log_warn_die.sh. 2013-01-24 11:39:23 -07:00
Daniel Nichter
b196f50e60 Test --verbose. Remove global default OPT_VERBOSE from log_warn_die.sh so tool's option can set it. 2013-01-24 11:13:39 -07:00
Daniel Nichter
11fa16382c Add --verbose to pt-stalk. Change _print() to ts() in log_warn_die.sh. 2013-01-24 09:36:57 -07:00
Daniel Nichter
8a4c681050 Merge copyright-percona-ireland-ltd. 2013-01-02 17:54:18 -07:00
Daniel Nichter
feab2f0925 s/Percona Inc/Percona Ireland Ltd/g 2013-01-02 17:19:16 -07:00
Brian Fraser
76301871ec Build percona-toolkit-2.1.8 2012-12-21 14:38:09 -03:00
Brian Fraser
557bffd19d Merged fix-1046440-pt-stalk-purge_samples 2012-12-11 11:55:34 -03:00
Brian Fraser fraserb@gmail.com
4eaf6e51f8 Merged experimental-fix-986847-pt-stalk-set-command 2012-12-05 21:15:20 -03:00
Brian Fraser fraserb@gmail.com
c9146b3c04 Fix for 1046440: pt-stalk purge_samples slows down checks
Like the bug submitter noted, the fix was simply to make purge_samples
only come into effect if the collection has been triggered.

I added a second purge_samples after the collect loop, which should
maintain the previous behavior for the non-collect case, and purge
any leftover files that passed the threshold during a stalk that
never triggered collection.
2012-12-05 13:20:06 -03:00
Daniel Nichter
9d1004ddbb Check and update tool versions, release notes, user docs, etc. before build. 2012-11-19 18:47:13 +00:00
Brian Fraser
b4f8732aca Documented the CMD_* env variable override 2012-11-13 17:47:26 -03:00
Brian Fraser
26e1e3bc19 Build percona-toolkit-2.1.6 2012-11-13 12:22:01 -03:00
Brian Fraser fraserb@gmail.com
22ec559b38 Fix for 986847: Allow setting which commands (and extra options) pt-stalk uses through env vars 2012-11-12 11:26:01 -03:00
Daniel Nichter
f6527695b8 Document extra --run-time-related waits. 2012-10-23 18:21:23 -06:00
Daniel Nichter
8ef6ee451f Wait for collectors before exiting. Use wait_until instead of sleep in pt-stalk.t, and add lots of diag info when tests fail. 2012-10-23 14:42:41 -06:00
Daniel Nichter
328b7f1e0e Merge fix-deleting-empty-files-bug-1047701 2012-10-13 14:15:37 -06:00
Daniel Nichter
d04529a64b Wait --run-time more for collector procs to finish, then kill them, then remove empty files. 2012-10-13 12:21:52 -06:00
Daniel Nichter
bf49d2265f Merge 2.1.5-release. 2012-10-12 11:09:46 -06:00
Daniel Nichter
309bc1f270 Build percona-toolkit-2.1.5 2012-10-08 22:02:17 +01:00
Daniel Nichter
7ac44ba53a Document --plugin. Remove _hook suffix. 2012-10-03 12:31:36 -06:00
Daniel Nichter
c0bafdead9 Test --plugin. 2012-10-03 11:51:03 -06:00
Daniel Nichter
4c474fd23f Add --plugin and hooks to pt-stalk. 2012-10-03 11:28:19 -06:00
Brian Fraser
aa98b589b6 Build percona-toolkit-2.1.4 2012-09-20 10:59:16 -03:00
Daniel Nichter
e1bd108aa4 Collect INNODB_TRX, INNODB_LOCKS, and INNODB_LOCK_WAITS. Fix update-module so it works again with Bash tools. 2012-08-30 15:40:09 -06:00
Brian Fraser
289035a303 Merged fix-1038995-bash-options-starting-with-no 2012-08-28 22:05:33 -03:00
Brian Fraser fraserb@gmail.com
3b539f8bea Merged fix-942114-bad-find-usage 2012-08-27 13:12:20 -03:00
Daniel Nichter
f7ae075720 Document gdb and other requirements in pt-pmp and pt-stalk. 2012-08-25 12:18:12 -06:00
Brian Fraser
d53fadff74 Merged quote-tr-arguments 2012-08-24 20:02:48 -03:00
Brian Fraser fraserb@gmail.com
c2b006eeaf Fix for 1038995: pt-stalk notify-by-email fails 2012-08-20 19:22:31 -03:00
Daniel Nichter
3602bb252f Use non-Bashism indirect reference in parse_options. Change $@ to ${@:-} and update parse_options in all tools. 2012-08-14 11:46:47 -06:00
Daniel Nichter
b5ba79bb6d Collect df -k instead of df -h. Set log_error with abs path to fix failing t/lib/bash/collect.t test. 2012-08-14 09:11:41 -06:00