Commit Graph

886 Commits

Author SHA1 Message Date
Brian Fraser fraserb@gmail.com 43708d7b65 VariableAdvisorRules: Check that log_bin is ON instead of doing log_bin ? 1 : 0 2012-07-30 11:44:28 -03:00
Brian Fraser fraserb@gmail.com 05f923545c pt-osc: Make --quiet behave like in the other tools 2012-07-30 11:41:09 -03:00
Brian Fraser fraserb@gmail.com 2f0812fb33 Merged ubuntu-12-64-issues 2012-07-30 11:30:05 -03:00
Daniel Nichter 8b079060ed Use si_dbh for SchemaIterator instead of the main dbh. 2012-07-28 14:41:51 -06:00
Brian Fraser 192f38498c Removed the charset munging and made a note in the pt-archiver docs that the only legal charsets are those known by MySQL 2012-07-27 16:09:32 -03:00
Daniel Nichter c94d0ee186 Add code comment to new %diff_chunks code. 2012-07-27 11:54:48 -06:00
Daniel Nichter c25c79e119 Only iterate diffs if there are some. 2012-07-27 11:35:27 -06:00
Daniel Nichter 203b0a9cb6 Report DIFFS as the true number of unique chunks that differ across all slaves. 2012-07-27 11:30:33 -06:00
Daniel Nichter 1875c92674 Partial bug fix: report max diffs, not just last slave's diffs. Still needs fixing to report count of all unique chunk# diffs. 2012-07-27 11:16:41 -06:00
Daniel Nichter a07dc3c146 Merge fix-pt-osc-empty-table-bug-1020997 2012-07-26 16:49:40 -06:00
Daniel Nichter 2290827eee Stop nibbling if chunking but not first lower boundary because table is empty. Print test debug via diag(). 2012-07-26 16:44:24 -06:00
Daniel Nichter 00c0dca859 Fix syntax error. 2012-07-25 15:29:24 -06:00
Daniel Nichter 41f7db8ca7 Merge lp:~hartmut-php/percona-toolkit/bug-869005 2012-07-25 15:22:37 -06:00
Brian Fraser 776798b3b9 Make pt-table-checksum always create the database/table it needs 2012-07-25 17:10:30 -03:00
Daniel Nichter 4f0661c102 Suppress ls output when it fails. Handle missing diskstats and vmstat. Shorten synopsis. 2012-07-23 16:39:49 -06:00
Daniel Nichter 8742381029 Clean up pt-sift: capture signals, verify and simplify arg processing, improve error messages and docs, exit if there are no pt-stalk files. 2012-07-23 16:16:00 -06:00
Daniel Nichter b90a375cb5 Define PREFIX is arg is a dir. 2012-07-23 14:13:35 -06:00
Brian Fraser 61a65fcdbd DSNParser.pm: Work around MySQL not resolving encodings sanely.
For some reason, MySQL won't resolve iso-8859-1 or latin-1 as latin1,
and will die if you try to use through in, e.g., SET NAMES.
This commit makes DSNParser resolve those cases on its own
before calling SET NAMES.
2012-07-23 01:11:49 -03:00
Daniel Nichter 487d14228b Handle --nofoo like --no-foo in parse_options.sh and update the Bash tools. 2012-07-21 11:57:53 -06:00
Daniel Nichter e1b39b3d5f Use TRUE/FALSE for typeless option values in --help. Update parse_options.sh lib in Bash tools. 2012-07-21 11:40:39 -06:00
Daniel Nichter b41068291e Remove table privs check. 2012-07-21 10:13:58 -06:00
Daniel Nichter c1a286bb41 Respect --replcace when doing INSERT after --create-table. 2012-07-20 16:05:20 -06:00
Brian Fraser 5d8be022e9 Merge ubuntu-12-64-issues 2012-07-20 17:33:13 -03:00
Brian Fraser bfa5f488fa Merged new-versionparser 2012-07-20 17:25:10 -03:00
Daniel Nichter c71f3b15e1 Check that vars are defined before using them as hashrefs. 2012-07-19 15:33:27 -06:00
Daniel Nichter 785de0cf57 Merge pt-kill-log-dsn. 2012-07-19 11:20:29 -06:00
Brian Fraser 81d541ec05 Update modules & cut the VP and Mo dependency from several tools 2012-07-19 13:22:45 -03:00
Daniel Nichter 436eeac077 Move certain vars to outer scope to avoid Perl 5.8 scoping bug. 2012-07-19 10:20:28 -06:00
Brian Fraser 28894c3f1e Processlist.pm: parse_event assumed that STATE couldn't be NULL.
Probably an oversight, since the rest of the library already
dealt with that by treating it as an empty string.
2012-07-19 11:06:17 -03:00
Daniel Nichter 22a4068bea Add --run-time to pt-table-checksum. Remove NAME_lc arg from Cxn and turn it on by default like it used to be and fix pt-kill accordingly. 2012-07-18 10:07:27 -06:00
Daniel Nichter c78c3bfbab Update Compare* modules in pt-upgrade. 2012-07-17 16:51:39 -06:00
Daniel Nichter 46b0c9ab0c Update output samples with new hostN. 2012-07-17 09:57:08 -06:00
Daniel Nichter 28f50bbac5 Use host instead of Host. 2012-07-17 09:53:07 -06:00
Brian Fraser fraserb@gmail.com d826c7168b Merged fix-984915-unchecked-do-calls-dsnparser 2012-07-14 23:58:17 -03:00
Brian Fraser fraserb@gmail.com 27db3bc8cf Update the code to work on current trunk.
Changes for 941469 conflicted with this fix, so this had to be updated.
2012-07-14 23:31:05 -03:00
Daniel Nichter acc74fd716 Merge pt-kill-reconnect-bug-941469. 2012-07-13 10:57:28 -06:00
Brian Fraser 2611797c06 Restore mysteriously changed permissions to the tools 2012-07-13 03:50:41 -03:00
Brian Fraser 0d572c3a02 Some changes that somehow went missing during the merge 2012-07-13 03:30:05 -03:00
Brian Fraser b696a2e44b bzr update'd the code for assorted VersionParser fixes 2012-07-13 01:55:56 -03:00
Brian Fraser 7f18bae253 Updated modules 2012-07-13 01:54:09 -03:00
Brian Fraser 30cc4892cf bzr update'd the code for assorted VersionParser fixes 2012-07-13 01:39:40 -03:00
Brian Fraser 541d001d2a Updated modules 2012-07-13 01:25:31 -03:00
Brian Fraser f558b4b9da Fix 984915: DSNParser does not check return value of do() calls 2012-07-12 22:42:54 -03:00
Brian Fraser 1cf7ec210f Merged fix-962330-already-lagged-slave 2012-07-12 22:41:04 -03:00
Daniel Nichter 4430cfabb5 Retry for an hour to get proclist; retry KILL once. 2012-07-12 17:05:25 -06:00
Daniel Nichter b1c6bba43a Test that pt-kill reconnects using new util/kill-mysql-process. Fix optional DSN by adding magical options rule. 2012-07-12 16:49:15 -06:00
Daniel Nichter dab2e5c692 Add NAME_lc arg to Cxn to prevent it from being set. Use Cxn in pt-kill to retry lost connections. Add support for pt-kill DSN. 2012-07-12 13:52:52 -06:00
Brian Fraser 4266e92692 Silence tput and stty warnings in ReadKeyMini 2012-07-12 16:25:39 -03:00
Daniel Nichter d8b0192495 Don't crash if group by attrib is empty string. 2012-07-11 15:46:58 -06:00
Brian Fraser e0d97bbc98 pt-upgrade: Deal with LOCAL INFILE being disabled 2012-07-11 18:36:43 -03:00