Commit Graph

162 Commits

Author SHA1 Message Date
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
Daniel Nichter
81f3c3c321 Validate --max-load in pt-table-checksum. 2012-05-25 15:34:58 -06:00
Daniel Nichter
c670ac4ba4 Update DSNParser in all tools. 2012-05-24 11:25:20 -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
1c23b615b2 Add XXX comments where the Perl oddity is being used. 2012-05-10 10:21:44 -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
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
30b6b88766 Restore original NibbleIterator and implement simpler solution: only use MySQL's chosen index if --where. 2012-05-08 12:43:47 -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
e74133bc67 Check if lwt is not defined, since 0 could be a valid value. 2012-05-04 10:17:01 -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
c3724aedca Build percona-toolkit-2.1.1 2012-04-03 12:42:45 -07:00
Daniel Nichter
97b1209116 Remove useless var in SchemaIterator::_iterate_files() and update module in tools. 2012-04-03 12:21:15 -06:00
Daniel Nichter
ad11e68fd7 Merge fix-doc-bug-972399. 2012-04-03 09:48:27 -06:00
Daniel Nichter
0089f31a35 Merge pt-osc-2.1. Fix NibbleItertor.pm to work with OobNibbleIterator when resuming at oob boundaries (t/pt-table-checksum/resume.t was failing). 2012-04-03 09:33:10 -06:00
Daniel Nichter
c04b85a066 Update SchemaIterator, TableParser, and NibbleIterator in tools that use them. All tools' tests still pass. 2012-03-31 09:59:15 -06:00
Daniel Nichter
8dc348baa1 Document risk of breaking replication if master-slave schemas or table structs differ. 2012-03-30 10:02:37 -06:00
Daniel Nichter
45c1f3bfb6 Make NibbleIter query comments customizable. Update the module in pt-table-checksum and pt-osc. 2012-03-25 10:37:19 -06:00
Daniel Nichter
f4c978c957 Build percona-toolkit-2.0.4 2012-03-07 15:41:54 -08:00
Daniel Nichter
78112fccec Update Daemon in all tools (bug 944420). 2012-03-07 14:44:43 -07:00
Daniel Nichter
9506c17160 Use --lock-wait-timeout to set lock_wait_timeout. Warn only if set fails and server value > option value. 2012-03-06 11:50:48 -07:00
Daniel Nichter
b989b7c4c8 Tweak error message. 2012-03-02 07:51:28 -08:00
Daniel Nichter
681a45b7be Don't catch our own die. 2012-03-02 07:46:18 -08:00
Daniel Nichter
9bff1b4e3e Check and die if pt-table-checksum ran with DBD::mysql v4.014. 2012-03-01 18:03:05 -08:00
Daniel Nichter
8e9e8eb7a6 Test and fix space-flattening bug. 2012-02-21 13:22:56 -07:00
Daniel Nichter
a08afff18b Use VersionParser to check for MySQL 5.1 before checking binlog_format. 2012-02-06 13:45:54 -07:00
Daniel Nichter
1cd570a11b Merge lp:~percona-toolkit-dev/percona-toolkit/fix-lc-bug-927771. 2012-02-06 13:39:52 -07:00
Daniel Nichter
2dfa2fd54f Wrap check for binlog_format in version directive to avoid error on MySQL 5.0. 2012-02-06 13:39:11 -07:00
Daniel Nichter
df4662ce51 Compare index names lc but save them in their original case. 2012-02-06 13:29:08 -07:00
Daniel Nichter
4d5d4da4b7 Build percona-toolkit-2.0.3 2012-02-03 16:25:29 -07:00
Daniel Nichter
f517675eb4 Compare lc(index) everywhere. 2012-02-03 11:38:20 -07:00
Daniel Nichter
3ce22bce88 Reword error message. 2012-02-02 13:29:45 -07:00
Brian Fraser
842bfd47ba Bug fix for https://bugs.launchpad.net/percona-toolkit/+bug/919352
Plus tweaking from Baron's comment in that bug.
2012-02-02 17:05:37 -03:00
Daniel Nichter
9d3c2f5002 Apply --where to chunk size test on replicas. 2012-01-31 12:42:53 -07:00
Daniel Nichter
1a619cc47c Test and fix typo in MasterSlave.pm and update that module in all tools. 2012-01-31 09:53:06 -07:00
Daniel Nichter
bc87f679f5 Build percona-toolkit-2.0.2 2012-01-05 12:20:21 -07:00
Daniel Nichter
4d473afe6d Build percona-toolkit-2.0.1 2011-12-30 15:44:29 -07:00
Daniel Nichter
65db1f0335 Fix SET @@binlog_format statement. 2011-12-30 14:46:18 -07:00
Daniel Nichter
d1bd7a9f3b Change MKDEBUG to PTDEBUG. Remove 1.0.2 from release notes. 2011-12-30 09:23:41 -07:00
Daniel Nichter
c58dfca1b5 Use latest Quoter::(de)serialize_list() in pt-table-checksum and pt-table-sync. Add more char_chunking.t tests for pt-table-checksum. 2011-12-29 17:25:38 -07:00
Daniel Nichter
6088ffa43d Use new Quoter (de)serialize_list() in pt-table-checksum and pt-table-sync. 2011-12-28 17:12:12 -07:00
Daniel Nichter
f122861808 Fix --where with one nibble. Update chunk_index.t. 2011-12-27 11:12:40 -07:00
Daniel Nichter
66c0abfe8e Don't reset @crc or @cnt. Docu output of --replicate-check-only. 2011-12-27 10:24:35 -07:00
baron@percona.com
17854084f5 docs update 2011-12-23 22:10:53 -05:00
Daniel Nichter
ef40a0d462 Catch and report helpful info when checking checksums on slaves fails. 2011-12-23 11:40:35 -07:00
Daniel Nichter
bd0a5edd98 Add ts_db_tbl index to checksums table and force last chunk SQL to use it. 2011-12-23 09:24:34 -07:00
Daniel Nichter
6fad44d58c Change SQL for --resume last chunk to fix bug 898318. 2011-12-19 15:48:52 -07:00