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
Brian Fraser fraserb@gmail.com
20d6ccff9e
Fix for 923896
2012-05-27 23:28:35 -03:00
Brian Fraser fraserb@gmail.com
56d3d9a3b5
Fix for 1002448
2012-05-27 23:18:50 -03:00
Daniel Nichter
81f3c3c321
Validate --max-load in pt-table-checksum.
2012-05-25 15:34:58 -06:00
Daniel Nichter
fcd8958fb7
Validate --max|critical-load early and strongly, and check that the var exists and is defined.
2012-05-25 15:27:23 -06:00
Daniel Nichter
bbe6125d8f
Validate --max|critical-load (work in progress).
2012-05-25 12:15:11 -06:00
Daniel Nichter
e27ad9b178
Test and fix --no-swap-tables and --no-drop-new-table.
2012-05-25 10:24:32 -06:00
Daniel Nichter
29c121a244
Merge handle-deadlocks-pt-osc.
2012-05-25 09:25:38 -06:00
baron@percona.com
c9050f0d61
update docs
2012-05-24 16:55:51 -04:00
Daniel Nichter
4b6fe95c6c
Handle MySQL 5.5 named values for concurrent_insert.
2012-05-24 14:52:11 -06:00
Daniel Nichter
c670ac4ba4
Update DSNParser in all tools.
2012-05-24 11:25:20 -06:00
Daniel Nichter
491c076e75
Implement retry_on_error for Pipeline processes. Retry iteration proc twice, then fail completely. Fix mirror.t.
2012-05-23 16:07:05 -06:00