Commit Graph

335 Commits

Author SHA1 Message Date
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
Daniel Nichter
583bc2957e Don't crash if N is > number of index columns. 2012-06-11 07:55:23 -04:00
Daniel Nichter
970f7d7e64 Merge ~percona-toolkit-dev/percona-toolkit/explain-checksum-chunks. 2012-06-10 13:25:44 -04:00
Daniel Nichter
60063f17a0 Implement and test --chunk-index index:n. 2012-06-10 10:43:42 -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
Baron Schwartz
8e9dfeec68 Some fixes for ANSI SQL quotes 2012-06-07 14:53:47 -04:00
Brian Fraser fraserb@gmail.com
03a9461daf Removed PerconaTest::{wait_until_no_lag|wait_until_slaves_running}, replaced them with Sandbox::wait_for_slaves 2012-06-07 12:00:40 -03:00
Daniel Nichter
dac0731251 Remove PerconaTest::wait_for_table() after calls to Sandbox::load_file() which now implicitly calls Sandbox::wait_for_slaves(). 2012-06-07 10:25:44 -04:00
baron
7a57261843 fix things looking for hardcoded mysqlbinlog path (t/pt-table-checksum/replication_filters.t and t/pt-table-sync/traces.t) 2012-06-06 21:29:34 -04:00
Brian Fraser fraserb@gmail.com
ed3d22ce38 t/pt-table-checksum/basics.t: Updated samples and tests 2012-06-06 18:38:13 -03:00
Daniel Nichter
03ebae4d3c Update pt-table-checksum/basics.t samples for percona_test.sentinel on MySQL 5.0. 2012-06-06 14:29:08 -07:00
Daniel Nichter
a178bb32f8 Use md5 "pings" in percona_test.sentinel for sub-second tests that call wipe_clean() twice. Update t/lib/samples/SchemaIterator/all-dbs-tbls-5.0.txt for percona_test.sentinel. Restart slaves in pt-table-checksum/replication_filters.t. Modernize and make pt-table-sync/replicate_do_db.t stable. 2012-06-06 13:31:24 -07:00
Baron Schwartz
e15c712398 update samples for 5.5 for t/pt-table-checksum/basics.t 2012-06-06 06:53:13 -04:00
Brian Fraser fraserb@gmail.com
92f1ee976d Fix the test plan for t/pt-table-checksum/replication_filters.t 2012-06-06 16:40:16 -03:00
Baron Schwartz
9865ad451d add sanity checks and slave-lag synchronization to prevent replication breakage, false sandbox breakage, etc. 2012-06-06 04:47:45 -04:00
Brian Fraser fraserb@gmail.com
0dc793dc9d Updated samples for t/pt-table-checksum/basics.t on 5.1 2012-06-06 13:45:30 -03:00
Baron Schwartz
1a40d1301f Make sandbox servers log their actions, remove test-env reset from pt-table-checksum/basics.t to stop replication breakage 2012-06-06 00:57:19 -04:00
Daniel Nichter
2d7cc5e8a4 Check for leftover databases. Fix MasterSlave.t so it doesn't leave leftover dbs and it resets 12347. 2012-06-05 18:55:32 -07:00
Daniel Nichter
b4c4c2c85e Fix pt-table-checksum/basics.t to work with new percona_test db. 2012-06-05 15:00:25 -07:00
Brian Fraser fraserb@gmail.com
9fb8601267 t/pt-table-checksum/replication_filters.t should account for percona_test 2012-06-05 18:57:25 -03:00
Daniel Nichter
4fbecaa3d3 Fix pt-table-checksum/privs.t so it doesn't break the sandbox. 2012-06-05 13:35:17 -07:00
Daniel Nichter
a44a273800 Revert back to ok() for Sandbox::ok() so tests file don't have to be updated. Shorten verify_test_data_integrity() to verify_test_data(). 2012-06-05 11:02:48 -07:00
Daniel Nichter
b96e43419f Merge ~percona-toolkit-dev/percona-toolkit/fix-ptc-checksum-tbl-bug-1008778. 2012-06-05 13:08:21 -04:00