Commit Graph

614 Commits

Author SHA1 Message Date
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
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
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
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
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
7f18bae253 Updated modules 2012-07-13 01:54:09 -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
Daniel Nichter
d8b0192495 Don't crash if group by attrib is empty string. 2012-07-11 15:46:58 -06:00
Brian Fraser
c00598d3fb Two VersionParser oversights in pt-table-sync 2012-07-11 16:46:54 -03:00
Brian Fraser
f9a29fed37 Updated all the tools to use the new VersionParser 2012-07-11 15:12:52 -03:00
Brian Fraser fraserb@gmail.com
4f8b6dca0b Fix for 962330: pt-slave-delay incorrectly computes lag if started when slave is already lagging 2012-06-25 15:48:25 -03:00
Daniel Nichter
50305f5fae Merge lp:~percona-toolkit-dev/percona-toolkit/pt-table-sync-binlog-format-only-if-not-statement 2012-06-12 11:57:58 -04:00
Daniel Nichter
6d71b91bfe Build percona-toolkit-2.1.2 2012-06-12 07:06:39 -07:00
Daniel Nichter
4eb1c689fa Fix bad POD link in pt-table-sync. 2012-06-12 09:55:27 -04:00
Brian Fraser fraserb@gmail.com
846f253661 Update all the modules 2012-06-11 22:08:42 -03:00
Daniel Nichter
18073bd7a2 Remove --[no]zero-bool from pt-query-digest. 2012-06-11 20:43:05 -04:00
Daniel Nichter
768a3d20d0 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-945079-tmpdir-should-use-TEMP 2012-06-11 17:06:03 -04:00
Brian Fraser fraserb@gmail.com
bc8f5a610c Change TMPDIR to PT_TMPDIR 2012-06-11 17:51:43 -03:00
Brian Fraser fraserb@gmail.com
9e677a7826 Updated all modules that use tmpdir.sh 2012-06-11 17:10:40 -03:00
Daniel Nichter
ef65945111 Update all modules in all tools. 2012-06-11 15:48:00 -04:00
Daniel Nichter
8932011e7c Merge lp:~percona-toolkit-dev/percona-toolkit/fix-912902 2012-06-11 15:06:46 -04:00
Daniel Nichter
486d5e5131 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-984011-pt-upgrade-docs 2012-06-11 15:03:34 -04:00
Daniel Nichter
4be580433b Merge fix-skipped-chunks-bug-1011738. 2012-06-11 14:52:31 -04:00
Daniel Nichter
69ba6c4efd Reset nibble_time for each chunk. 2012-06-11 14:43:18 -04:00
Brian Fraser fraserb@gmail.com
e246e93bb1 Fix for 984011: pt-upgrade docs show pipes 2012-06-11 14:44:23 -03:00
Daniel Nichter
3f2295ec46 Implement IndexLength in pt-table-checksum and pt-online-schema-change. Tag the IndexLength queries with "key_len" and make n_index_cols optional--get full key_len if not given. 2012-06-11 12:54:26 -04:00