Commit Graph

158 Commits

Author SHA1 Message Date
Brian Fraser fraserb@gmail.com
2f7345f06b Merged fix-1050737-1075638-ptc-division-by-zero-nibble_time 2012-12-05 20:32:25 -03:00
Daniel Nichter
6c9f4c0722 Fix sakila.sql so it loads on 5.0. Only wait 60s for replication for test-env start. 2012-12-03 20:06:47 +00:00
Daniel Nichter
f6fd2b7470 Only run t/pt-table-checksum/pxc.t if in cluster mode. 2012-11-30 18:14:06 +00:00
Daniel Nichter
065e0a8c5e Merge 2.1 at r473. 2012-11-30 00:23:42 +00:00
Daniel Nichter
90a91cd384 Merge pt-osc-pxc-tests. 2012-11-29 17:10:51 -07:00
Brian Fraser
2614eabd31 Merged fix-1074179-ptc-replicate-check-only-filters 2012-11-29 17:14:14 -03:00
Brian Fraser
d496fbcf11 Tests for pt-archiver + PXC 2012-11-29 07:29:24 -03:00
Daniel Nichter
51f5466aef Re-dump sakila.sql so it has the same ts so NibbleIterator.t doesn't fail. Consequently update 2 ptc tests now that mysql.proc is empty. 2012-11-28 14:39:19 -07:00
Brian Fraser
d6a7bf0cdb Remove the @INC shifts from the test files. This is no longer needed since the tools do their %INC mangling 2012-11-21 13:58:40 -03:00
Daniel Nichter
e0f0ea0cdb Rewrite and enhance lib/Percona/XtraDB/Cluster.pm and t/pt-table-checksum/pxc.t. Change how ptc handles various cluster issues. Change lib/Sandbox.pm subs like start_sandbox() and start_cluster(). PXC docs in ptc are a work in progress. 2012-11-18 22:05:30 -07:00
Brian Fraser
d7a239b369 Fix for 1074179: pt-table-checksum does't ignore tables for --replicate-check-only 2012-11-09 16:37:56 -03:00
Brian Fraser
9b4c80fd0f Fixes for bugs 1074179 and the ptc part of 1050737: division by zero errors when nibble_time is zero 2012-11-09 10:32:22 -03:00
Brian Fraser
42a9cf4b6e Merged fix-1062563-1063912-ptc-pxc-bugs and resolved conflicts, added the missing Percona::XtraDB::Cluster file 2012-11-08 17:38:04 -03:00
Brian Fraser
aa79c9df57 Moved the PXC-dealing parts of Cxn.pm into Percona::XtraDB::Cluster 2012-11-07 04:06:50 -03:00
Daniel Nichter
e8cfb37341 Move ptc PXC tests from bugs.t to pxc.t. Remove 2>&1 from Sandbox.pm shell-outs: we should let errors go to stderr so we can trap them. Fix skip count in Cxn.t for PXC tests. 2012-11-06 16:10:01 -07:00
Daniel Nichter
a0cd575c95 Merge fix-1009510-1039569-ptc-check-table-on-replicas 2012-11-05 10:54:21 -07:00
Daniel Nichter
0cffac95de Simplify how ptc checks slave tables. Move that code from TableParser to pt_table_checksum::check_slave_tables. Change --[no]check-replicate-table-columns to --[no]check-slave-tables. Move tests to error_handling.t. 2012-11-02 15:22:47 -06:00
Daniel Nichter
b5c48f07d1 Remove unused $limit. Make $chunk_size_limit || 1 because it's the one used for #-of-rows check on slaves. Reverse the new test because we don't want to disable the #-of-rows check. 2012-10-31 12:12:51 -06:00
Brian Fraser fraserb@gmail.com
1e3cc6131c Fix for 938660: pt-table-checksum chunk-size-limit of 0 does not disable chunk size limit checking 2012-10-30 11:55:49 -03:00
Daniel Nichter
3d03a3a0dc Don't run binlog_tests unless MySQL 5.1+. Use output() instead of full_output(). 2012-10-26 16:52:24 -06:00
Daniel Nichter
d7bfcc8fd9 Tweak warning. Enhance docu around --check-binlog-format. 2012-10-19 16:57:53 -06:00
Brian Fraser
5a9cc13d6f Fixes for the previous commit 2012-10-17 15:39:06 -03:00
Brian Fraser fraserb@gmail.com
1875066868 Fix and tests for 1062563 and 1063912: ptc+PXC bugs 2012-10-17 12:58:48 -03:00
Brian Fraser fraserb@gmail.com
8f23c5a353 Fix for 938068: pt-table-checksum doesn't warn if binlog_format=row or mixed on slaves 2012-10-17 11:54:16 -03:00
Daniel Nichter
793296dfc9 Make pt-table-checksum/run_time.t more reliable. 2012-10-06 12:19:00 -06:00
Brian Fraser
a7f5ac42c7 Merged fix-1016131-ptc-crash-with-columns 2012-09-26 18:15:24 -03:00
Daniel Nichter
d016b170b3 Merge ptc-run-time 2012-08-24 15:27:11 -06:00
Brian Fraser
c444384c6c Fix for 1009510 and 1039569: pt-table-checksum doesn't check that tables exist on all replicas / shouldn't die if it can't create db/table 2012-08-23 03:14:14 -03:00
Daniel Nichter
217a45df6f Conditionalize top 5 slowest test files, saving 25%/5m * 15 configs = 1hr. 2012-08-12 10:16:52 -06:00
Daniel Nichter
c80123f485 Merge fix-953141-recursion-method-array 2012-08-02 12:01:34 -06:00
Brian Fraser
94a5d85212 Fix for 1016131: ptc should skip tables when all its columns are excluded 2012-08-02 11:29:57 -03:00
Daniel Nichter
cc3826f665 Fix more test output broken by percona_test.load_data. Tweak ptc/t/privs.t so it passes on my box. Fix new start/stop scripts: don't check ibdata1 because SKIP_INNODB may be used. Make PerconaTest::output() cleaner. 2012-08-01 14:58:52 -06:00
Brian Fraser fraserb@gmail.com
d99c7a6041 Update all modules that use --recursion-method, additionally changing it to an array with default processlist,hosts and checking the array for validity 2012-08-01 17:43:09 -03:00
Brian Fraser fraserb@gmail.com
9596574e85 Merged fix-950294-ptc-if-not-exists 2012-08-01 13:39:32 -03:00
Brian Fraser fraserb@gmail.com
a94da84b27 Changes from Daniel's review.
Some wording changes, also fatalized two warnings, and some test
changes.
2012-07-30 19:10:45 -03:00
Brian Fraser fraserb@gmail.com
2f0812fb33 Merged ubuntu-12-64-issues 2012-07-30 11:30:05 -03:00
Daniel Nichter
0fc84ff7c0 Switch bugs.t to use done_testing. 2012-07-27 11:52:24 -06:00
Daniel Nichter
203b0a9cb6 Report DIFFS as the true number of unique chunks that differ across all slaves. 2012-07-27 11:30:33 -06:00
Daniel Nichter
1875c92674 Partial bug fix: report max diffs, not just last slave's diffs. Still needs fixing to report count of all unique chunk# diffs. 2012-07-27 11:16:41 -06:00
Brian Fraser
776798b3b9 Make pt-table-checksum always create the database/table it needs 2012-07-25 17:10:30 -03:00
Daniel Nichter
54733dad5f Test user privs for bug 916168. 2012-07-20 17:58:44 -06:00
Daniel Nichter
22a4068bea Add --run-time to pt-table-checksum. Remove NAME_lc arg from Cxn and turn it on by default like it used to be and fix pt-kill accordingly. 2012-07-18 10:07:27 -06:00
Brian Fraser
f9f8c4a675 Increase the timeout for t/pt-table-checksum/throttle.t to avoid white smoke 2012-07-11 20:33:35 -03:00
Brian Fraser
e9c9608c33 pt-archiver & tests: Deal with LOAD DATA LOCAL INFILE being disabled.
This occasionally shows up in some OSs, like Ubuntu 12.04 LTS.
2012-07-11 17:31:03 -03:00
Brian Fraser
8179b1f1a1 Updated the tests to use the new VersionParser 2012-07-11 15:21:47 -03:00
Daniel Nichter
69ba6c4efd Reset nibble_time for each chunk. 2012-06-11 14:43:18 -04:00
Daniel Nichter
c9ace1b931 Failing test for SKIPPED if chunk # > 1. 2012-06-11 14:04:41 -04: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
Daniel Nichter
4f3bdabf7c Failing test for key_len with --chunk-index-columns. 2012-06-11 11:58:16 -04:00
Daniel Nichter
823cedd9ba Add --chunk-index-columns to pt-table-checksum. 2012-06-11 08:07:18 -04:00