Commit Graph

774 Commits

Author SHA1 Message Date
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
Baron Schwartz
c2165dec01 only change binlog format if it's not already STATEMENT 2012-06-11 12:49:16 -04:00
Brian Fraser fraserb@gmail.com
93cb6f8ebf Bug 912902: basename not guaranteed to work for Shell tools 2012-06-11 12:15:59 -03:00
Daniel Nichter
d2486ebdf6 Add --chunk-index-columns to pt-osc. 2012-06-11 08:15:48 -04:00
Daniel Nichter
823cedd9ba Add --chunk-index-columns to pt-table-checksum. 2012-06-11 08:07:18 -04:00
Baron Schwartz
2e2374c523 remove some Maatkit documentation references in pt-archiver and pt-index-usage 2012-06-11 05:16:50 -04:00
Daniel Nichter
970f7d7e64 Merge ~percona-toolkit-dev/percona-toolkit/explain-checksum-chunks. 2012-06-10 13:25:44 -04:00
Daniel Nichter
f422dab969 Clarify --chunk-index name:n validation. 2012-06-10 13:10:41 -04:00
Daniel Nichter
1f861fa9f5 Fix docs about skipping chunks with bad plans. 2012-06-10 12:41:24 -04:00
Daniel Nichter
ad687ce77c Clarify --check-plan error message. 2012-06-10 12:19:15 -04:00
Daniel Nichter
75c79ae204 Implement --chunk-index name:n in pt-osc. Fix pod in pt-table-checksum. 2012-06-10 12:04:42 -04:00
baron@percona.com
1011eff2bb documentation for chunk-index and check-plan 2012-06-10 11:11:30 -04:00
Daniel Nichter
e82e1fc04e Update all modules in pt-osc (to add support for --chunk-index index:n). 2012-06-10 10:46:49 -04:00
Daniel Nichter
60063f17a0 Implement and test --chunk-index index:n. 2012-06-10 10:43:42 -04:00
Daniel Nichter
731fc3aa4e Update all modules in pt-table-checksum. 2012-06-10 10:02:27 -04:00
Daniel Nichter
272f963733 Remove --chunk-index-columns and extend --chunk-index instead to take INDEX:N value. Add n_index_values to TableNibbler. 2012-06-10 10:01:25 -04:00
Daniel Nichter
3c553665a2 Add stub --chunk-index-columns. 2012-06-10 09:15:41 -04:00
Daniel Nichter
2a92a0a0ff Check key_len for each chunk to ensure it doesn't decrease. Add --[no]check-plan. 2012-06-09 22:23:00 -04:00
Baron Schwartz
47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -04:00
Brian Fraser fraserb@gmail.com
db8f834164 pt-osc: Remove the wait for triggers to replicate.
It wasn't needed; turned out to be a red herring chasing a
different bug.

-------------- This line and the following will be ignored 
--------------
modified:
  bin/pt-online-schema-change
unknown:
  bug-ptosc
  error
  oot.txt
  oot2.txt
  percona-testxSfjJBOj/
  ptoscbug.pl
1 shelf exists. See "bzr shelve --list" for details.
2012-06-07 23:36:54 -03:00
Brian Fraser fraserb@gmail.com
e025b66bd2 pt-osc: Fix the __DIE__ handler to account for eval, also make sure to wait until the slaves replicate the triggers 2012-06-07 17:45:24 -03:00
Brian Fraser fraserb@gmail.com
8d4354090e Fix for #949630: pt-query-digest mentions a Subversion repository 2012-06-07 12:02:47 -03:00
Brian Fraser fraserb@gmail.com
81dd96bf02 Merged lp:~percona-toolkit-dev/percona-toolkit/pt-osc-wait-for-slaves 2012-06-06 19:44:12 -03:00
Brian Fraser fraserb@gmail.com
000fdd86b8 pt-osc: Nicer waiting code 2012-06-06 13:36:53 -03:00
Brian Fraser fraserb@gmail.com
02eb9b7a0a Moved the slave replication wait to execute earlier 2012-06-06 13:28:59 -03:00
Brian Fraser fraserb@gmail.com
4d2560c24c pt-osc: Wait for the slaves to replicate the table before working on them. 2012-06-06 12:21:26 -03:00
Brian Fraser fraserb@gmail.com
c2bb24befc Merged lp:~percona-toolkit-dev/percona-toolkit/replace-MKDEBUG 2012-06-06 14:15:05 -03:00
Brian Fraser fraserb@gmail.com
e57b67f10e Cxn & pt-osc: Guard the cleanup tasks.
Does this twofold: By adding a __DIE__ hook to make sure they are
called, and by checking that the dbh is an actual database handle.
2012-06-05 16:24:32 -03:00
Brian Fraser fraserb@gmail.com
1f4d99665f pt-table-sync: Bail out if --lock-and-rename and MySQL <= 5.5 2012-06-05 14:41:36 -03:00
Daniel Nichter
b96e43419f Merge ~percona-toolkit-dev/percona-toolkit/fix-ptc-checksum-tbl-bug-1008778. 2012-06-05 13:08:21 -04:00
Daniel Nichter
4f83cf4102 Wait for --replicate table to repl on all slaves. Add wait_for arg to PerconaTest::full_output(). 2012-06-05 12:29:26 -04:00
Brian Fraser fraserb@gmail.com
345a21a82e Replace the last instances of MKDEBUG 2012-06-05 12:28:36 -03:00
Brian Fraser fraserb@gmail.com
6b93d51e43 ReadKeyMini: Restore STDIN flags in cooked()
This will probably resolve bug #946707: pt-sift loses STDIN after pt-diskstats
2012-06-05 12:16:49 -03:00
Baron Schwartz
56e20d269a Add another test for reconnect, and fix failure/race condition in pt-slave-delay 2012-06-04 11:33:06 -04:00
Baron Schwartz
e9e8285b54 pt-slave-delay doesn't reconnect reliably, this is a start 2012-06-04 11:10:41 -04:00
Baron Schwartz
0637b85bb3 only commit if not autocommit; fixes some newly broken tests 2012-06-04 10:08:06 -04:00
Brian Fraser fraserb@gmail.com
4e241e8de5 pt-log-player: Always commit all changes (5.5 compat) 2012-06-04 19:25:25 -03:00
Baron Schwartz
a074ce0526 Make pt-index-usage commit after saving results to tables, which fixes tests in MySQL 5.5 2012-06-04 08:21:02 -04:00
Baron Schwartz
45c85ba40d fix problems with regex matching and PROXY grant in MySQL 5.5 2012-06-04 00:05:05 -04:00
Daniel Nichter
696a3b5e68 Fix mem/file size shortening in pt-summary and pt-mysql-summary. 2012-06-03 14:49:35 -07:00
Baron Schwartz
1e082cfd34 fix a couple things for MySQL 5.5 2012-06-03 14:47:00 -04:00