Commit Graph

439 Commits

Author SHA1 Message Date
Daniel Nichter
09ddcd641e Merge advisor-json-output and clean up pt-query-advisor docs. 2012-06-01 09:13:11 -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
cf1091960b Move the sample for 903443 into it's own file 2012-05-30 13:03:17 -03:00
Brian Fraser fraserb@gmail.com
7fb28b0081 Name the tests for 923896's fix 2012-05-30 11:36:44 -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
ed95534efa Merge test-table-usage-with-fingerprints. 2012-05-25 11:24:36 -06:00
Daniel Nichter
6c02e062fd Test pt-table-usage with fingerprints (Percona 22175). 2012-05-25 11:23:38 -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
4b6fe95c6c Handle MySQL 5.5 named values for concurrent_insert. 2012-05-24 14:52:11 -06:00
Daniel Nichter
026d95ac24 Separate DSN parts using escaped commas instead so bareword values work. 2012-05-24 10:56:04 -06:00
Daniel Nichter
15146353f9 Use regex to split DSN parts to allow commas in values. 2012-05-24 10:32:39 -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
ec43d0c0aa Add failing test in bugs.t. 2012-05-22 11:08:20 -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
2c5ea7c49d Failing test for --ignore-tables. 2012-05-21 11:00:36 -06:00
Daniel Nichter
d7b9ccf19b Add failing test. 2012-05-18 08:55:58 -06:00
Daniel Nichter
85ab246323 Test pt-osc --recursion-method=none with user that can't SHOW SLAVE HOSTS. 2012-05-17 10:10:22 -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
9967739fa4 Update NibbleIterator in pt-osc to fix it choosing the wrong index instead of the PK; add bugs.t to test this. 2012-05-16 10:04:52 -06:00
Daniel Nichter
350aa3a344 Merge fix-dupe-key-bug-894140. 2012-05-14 19:10:50 -06:00
Daniel Nichter
e932c89d9e Fix bug that caused not all "right keys" to be compared in certain cases. 2012-05-14 19:05:32 -06:00
Daniel Nichter
5a77e8c09c Fix scrolling header for --group-by=all. 2012-05-10 14:06:52 -07:00
Daniel Nichter
f4957ba911 Use --chunk-size-limit || 1 for checking if a table can be done in one chunk to avoid chunking empty tables. Checksums for empty tables are now written. 2012-05-10 09:55:42 -06:00
Daniel Nichter
5079930b72 Merge change-diskstats-group-by-default-fix-bug-952727. 2012-05-09 07:48:59 -06:00
Daniel Nichter
715f0f86e1 Merge fix-undef-arrayref-bug-995274. 2012-05-08 17:02:58 -06:00
Daniel Nichter
884d02bc2a Lowercase index from EXPLAIN (unless it's PRIMARY) to match lowercase ident names from TableParser::parser(). 2012-05-08 16:51:35 -06:00
Daniel Nichter
7a7c0fe157 Merge ../fix-ptc-pk-bug-978432. 2012-05-08 12:47:54 -06:00
Daniel Nichter
9bb2311fc2 Add failing unit test. 2012-05-08 12:07:40 -06:00
Daniel Nichter
1f5245b524 Add failing test. 2012-05-08 11:23:19 -06:00
Daniel Nichter
cc80f278d5 Code comment why MiB, GiB, etc. are used in shorten() and update that func in pt-summary and pt-mysql-summary. 2012-05-07 16:38:30 -06:00
Daniel Nichter
fdfd305dc5 Simplify and fix report_formatting::shorten(), and add Petabyte unit (in case it's needed). Update affected test samples. Add T_DIR to util/test-bash-functions. 2012-05-07 12:16:24 -06:00
Daniel Nichter
e2073065b1 EXPLAIN actual ascending nibble query to get MySQL's chosen index, and use that instead of the tool's chosen index. TODO: fix OobNibbleIterator.t and chunk_index.t. 2012-05-04 17:46:34 -06:00
Daniel Nichter
3ebf357a1f Don't crash if innodb_lock_wait_timeout doesn't exist. 2012-05-04 10:09:50 -06:00
Daniel Nichter
522d7836e8 Move --sleep to just before SELECT instead of between each row after SELECT. 2012-04-17 16:52:34 -06:00