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
Baron Schwartz
cae983afc2
some changes to work with MySQL 5.5
2012-06-03 13:50:02 -04:00
Daniel Nichter
09ddcd641e
Merge advisor-json-output and clean up pt-query-advisor docs.
2012-06-01 09:13:11 -06:00
Daniel Nichter
3bf314facc
Merge pt-query-advisor-docs-2.
2012-06-01 08:37:31 -06:00
Brian Fraser fraserb@gmail.com
0b5196a1f1
Merged ~percona-toolkit-dev/percona-toolkit/fix-1003315
2012-05-30 15:52:21 -03:00
Brian Fraser fraserb@gmail.com
60c183a4f3
Merged ~percona-toolkit-dev/percona-toolkit/fix-1002448
2012-05-30 15:51:33 -03:00
Brian Fraser fraserb@gmail.com
d31d4d0a8a
Merged ~percona-toolkit-dev/percona-toolkit/fix-bug-903379
2012-05-30 15:49:37 -03:00
Brian Fraser fraserb@gmail.com
10b8c774f3
Merged ~percona-toolkit-dev/percona-toolkit/fix-885382
2012-05-30 15:16:38 -03:00
Brian Fraser fraserb@gmail.com
3a56cda628
Merged ~percona-toolkit-dev/percona-toolkit/fix-923896
2012-05-30 14:40:36 -03:00
Brian Fraser fraserb@gmail.com
8e04e3df60
Fix for 1003315: dry-run + alter-fk-method = auto always fail.
2012-05-30 14:27:07 -03:00
Brian Fraser fraserb@gmail.com
ee097f442f
Fix for 885382: Check the cardinality of --embedded-attributes
2012-05-30 14:14:13 -03:00
Brian Fraser fraserb@gmail.com
cd88bb4d25
Fix for 903379
2012-05-28 04:59:04 -03:00
Brian Fraser fraserb@gmail.com
32860a5242
Fix for 903443
2012-05-27 23:35:47 -03:00