Commit Graph

539 Commits

Author SHA1 Message Date
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
Daniel Nichter
74b1caa241 Failing test and XXX code comment about a bug used to test this bug. 2012-05-23 14:45:52 -06:00
Daniel Nichter
46131ee7a4 Unset src tbl_struct when the db or tbl changes. Add test for just --replicate. 2012-05-22 11:47:24 -06:00
Daniel Nichter
d0d296ee16 Use SchemaIterator for filtering --sync-to-master and --replicate. Return arrayref from TableChecksum::find_replication_differences(). 2012-05-21 15:50:40 -06:00
Daniel Nichter
a618a41894 Make %ignore_code and %warn_code global to "fix" Perl 5.8 scoping/closure issue. 2012-05-18 09:05:43 -06:00
Daniel Nichter
392f74fc60 Update MasterSlave in all tools and add "none" to --recursion-method docs. Tools pass their tests. 2012-05-17 08:54:36 -06:00
Daniel Nichter
e969d8d9f7 Implement and test --recursion-method=none in MasterSlave.pm and pt-table-checksum. 2012-05-17 08:11:30 -06:00
Daniel Nichter
6d0e207af7 Check if innodb_lock_wait_timeout exists, don't crash. 2012-05-16 17:36:19 -06:00
Daniel Nichter
d46285342a Use 6 X with mktemp to make it work on some platforms and update all tools. 2012-05-16 11:38:48 -06:00