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 |
|
Daniel Nichter
|
54733dad5f
|
Test user privs for bug 916168.
|
2012-07-20 17:58:44 -06: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 |
|
Daniel Nichter
|
bb2fd381d3
|
Fix, simplify, enhance, and make pt-table-checksum/throttle.t stable.
|
2012-06-05 12:59:20 -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 |
|
Baron Schwartz
|
5c23b95072
|
magic to check that tests didn't muck with test dataset
|
2012-06-05 03:24:59 -04:00 |
|
Baron Schwartz
|
2d33ba23dc
|
Attempt to avoid race condition in t/pt-table-checksum/progress.t by slowing down the checksum job slightly, but this is a TEST_WISHLIST PLUGIN_WISHLIST and this test goes onto the spreadsheet of unreliable tests.
|
2012-06-05 00:09:31 -04:00 |
|
Baron Schwartz
|
48fc1f82a7
|
Add version-specific results for mysql5.5
|
2012-06-04 12:04:16 -04:00 |
|
Baron Schwartz
|
7436c7e36b
|
this test is brittle; no changes, just add some diag()
|
2012-06-04 10:09:42 -04:00 |
|
Daniel Nichter
|
bae3d4d17e
|
Merge changes.
|
2012-06-04 07:34:07 -07:00 |
|
Daniel Nichter
|
4e90f65736
|
Make pt-table-checksum/relication_filters.t and progress.t stable. Add PerconaTest::wait_until_no_lag(). Fix sandbox/test-env reset.
|
2012-06-04 07:33:14 -07:00 |
|
Brian Fraser fraserb@gmail.com
|
a976677b05
|
Test plan updates
|
2012-06-04 11:23:23 -03:00 |
|
Daniel Nichter
|
7f51c42493
|
Fix Sandbox::leftover_servers(). Temporarily disable very slow test in pt-table-checksum/chunk_size.t. Debugging pt-table-checksum/replication_filters.t.
|
2012-06-04 08:24:30 -04:00 |
|
Brian Fraser fraserb@gmail.com
|
129c37c8b6
|
Added a --chunk-size to the --resume tests.
Mainly for the benefit of slow computers, as the tests can occasionally
fail there without it.
|
2012-06-03 20:30:08 -03:00 |
|
Baron Schwartz
|
bfd2222a54
|
make slaves set themselves read_only. Fix problem with replication_filters.t that is possibly not starting slaves after their masters are restarted.
|
2012-06-03 16:20:58 -04:00 |
|
Daniel Nichter
|
bdbb66d22b
|
Re-add calls to Sandbox::ok().
|
2012-06-03 13:54:32 -04:00 |
|
Daniel Nichter
|
81f3c3c321
|
Validate --max-load in pt-table-checksum.
|
2012-05-25 15:34:58 -06:00 |
|
Daniel Nichter
|
d7b9ccf19b
|
Add failing test.
|
2012-05-18 08:55:58 -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
|
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 |
|