Daniel Nichter
|
d1bd7a9f3b
|
Change MKDEBUG to PTDEBUG. Remove 1.0.2 from release notes.
|
2011-12-30 09:23:41 -07:00 |
|
Daniel Nichter
|
cf10e3e521
|
Merge lp:~percona-toolkit-dev/percona-toolkit/pt-table-checksum-2.0.
|
2011-12-29 17:39:26 -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 |
|
Brian Fraser
|
1f06ea093a
|
Modified (de)serialize_list to handle undefs and empty string elements better.
|
2011-12-29 17:22:17 -03: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 |
|
Brian Fraser
|
85817a795c
|
Slight improvement to the deserialize regex and its test output.
|
2011-12-28 20:08:30 -03:00 |
|
Daniel Nichter
|
4197b09f53
|
Adjust code spacing, tweak comments, do only (de)serialize tests with database, give tests names.
|
2011-12-28 15:47:50 -07:00 |
|
Brian Fraser
|
88e82d665d
|
Include serialize_list() and deserialize_list() to roundtrip through a DB.
|
2011-12-28 16:44:49 -03:00 |
|
Daniel Nichter
|
09cd535d3a
|
Merge lp:~daniel-nichter/percona-toolkit/bash-tool-libs.
|
2011-12-27 15:37:09 -07:00 |
|
Daniel Nichter
|
f122861808
|
Fix --where with one nibble. Update chunk_index.t.
|
2011-12-27 11:12:40 -07:00 |
|
Daniel Nichter
|
1d8da408fc
|
Revert to r243 to undo pt-table-sync changes.
|
2011-12-22 12:06:25 -07:00 |
|
Daniel Nichter
|
cfc57c71af
|
Make pt-table-sync --replicate work with pt-table-checksum 2.0.
|
2011-12-22 10:10:22 -07:00 |
|
Daniel Nichter
|
457fa70668
|
Fix TableSyncer trace msg, implement --explain, fix locking/committing. Add aux dbh, dbh opts, and disconnect() to Cxn.
|
2011-12-21 21:12:03 -07:00 |
|
Daniel Nichter
|
ec8471ba28
|
Finish rewriting TableSyncer and updating its test. Add RowSyncerBidirectional.pm. Add GENLOG switch to start-sandbox.
|
2011-12-21 12:10:57 -07:00 |
|
Daniel Nichter
|
4c8fd5c080
|
Rewrite TableSyncer to use only NibbleIterator. Add RowSyncer. Return hashref from NibbleIterator.
|
2011-12-21 01:19:50 -07:00 |
|
Daniel Nichter
|
5d2e60791c
|
Don't add ORDER BY to nibble SQL by default.
|
2011-12-19 14:17:11 -07:00 |
|
Daniel Nichter
|
9baea8b7b6
|
Convert parse_option to sh, use Perl instead of awk, implement --help.
|
2011-12-19 12:51:47 -07:00 |
|
Daniel Nichter
|
3266e0aeca
|
Don't use OPT_TMPDIR in tmpdir.sh. Define EXT_ARGV in parse_options.sh.
|
2011-12-19 11:29:21 -07:00 |
|
Daniel Nichter
|
8439962b45
|
Make tests more flexible.
|
2011-12-19 10:44:36 -07:00 |
|
Daniel Nichter
|
bb315948cd
|
Parse disk space using df -P -k.
|
2011-12-19 10:22:42 -07:00 |
|
Daniel Nichter
|
f3ac1b20c2
|
Add usage_or_errors() to parse_options.sh.
|
2011-12-15 12:01:22 -07:00 |
|
Daniel Nichter
|
92c8635c4a
|
Fix and test safeguards.sh. Implement disk space+margin check.
|
2011-12-14 16:12:43 -07:00 |
|
Daniel Nichter
|
0cfef9134c
|
Collect proclist in loop.
|
2011-12-08 11:45:16 -07:00 |
|
Daniel Nichter
|
c486bf8461
|
Remove ON_EXIT.
|
2011-12-07 10:48:47 -07:00 |
|
Daniel Nichter
|
578896c217
|
Add daemon.sh.
|
2011-12-07 10:37:10 -07:00 |
|
Daniel Nichter
|
f6306c9ec0
|
Test collect.sh. Use --run-time instead of --interval for collect loop. Fix and require per-test test names in util/test-bash-functions. Fix OPT_ERR in parse_options.sh.
|
2011-12-06 13:23:47 -07:00 |
|
Daniel Nichter
|
c804079c0d
|
Add Bash libs collect.sh (pt-collect internals), safeguards.sh, and alt_cmds.sh.
|
2011-12-05 13:48:54 -07:00 |
|
Daniel Nichter
|
75d2c99d45
|
Parse option specs, allow negating with --no-, add more tests.
|
2011-12-02 11:31:31 -07:00 |
|
Daniel Nichter
|
173085e823
|
Rename tmpdir funcs. Include pid in tmpdir name.
|
2011-11-28 11:16:23 -07:00 |
|
Daniel Nichter
|
ff78656859
|
Fix various resume issues.
|
2011-11-17 11:20:00 -07:00 |
|
Daniel Nichter
|
619cda713f
|
Handle resume in NibbleIterator.
|
2011-11-15 11:55:07 -07:00 |
|
Daniel Nichter
|
fbb80008de
|
Add OobNibbleIterator.pm.
|
2011-11-14 17:49:48 -07:00 |
|
Daniel Nichter
|
2f9ab4081a
|
Fix prepared report for statements without corresponding prep or exec.
|
2011-11-08 12:53:50 -07:00 |
|
Daniel Nichter
|
5465634885
|
Fix --resume --ignore-tables.
|
2011-11-08 10:20:59 -07:00 |
|
Daniel Nichter
|
c45676abf1
|
Fix some lib/ tests.
|
2011-11-02 10:20:07 -06:00 |
|
Daniel Nichter
|
f2b644ba72
|
More parse_options tests. Make --opt yes have value "yes" instead of "1". Change ok() to cmd_ok() in test-bash-functions. Mimic Perl modulue headers in Bash libs so update-modules will work with the latter.
|
2011-10-28 11:08:59 -06:00 |
|
Daniel Nichter
|
1ec666de0e
|
Add Bash libs tmpdir and log_warn_die. Docu parse_options. Don't use TMPDIR in test-bash-functions; add ok() to test-bash-functions.
|
2011-10-27 11:56:58 -06:00 |
|
Daniel Nichter
|
1ae8661271
|
First Bash parse_options lib with tests.
|
2011-10-26 10:50:55 -06:00 |
|
Daniel Nichter
|
79beac6eb7
|
Add MySQLStatusWaiter.pm.
|
2011-10-19 20:07:02 -06:00 |
|
Daniel Nichter
|
c4db7c0633
|
Test and fix very small --chunk-time. Report immediately when a slave is stopped. Add short form -q for --quiet. Report very slow checksums once for each table. Use Cxn::name() instead of Cxn::dsn()->{n}; remove n from DSNParser; make cxn's name @@hostname by default, else stringified DSN parts.
|
2011-10-19 11:27:19 -06:00 |
|
Daniel Nichter
|
8d2259e5b3
|
Fix --ignore-columns in NibbleIterator. Increase test coverage to 93%.
|
2011-10-18 09:32:48 -06:00 |
|
Daniel Nichter
|
07420ff78e
|
Don't crash on empty tables with --chunk-size-limit=0. Don't crash trying to print MySQL warning. Finish updating (all the important) tests.
|
2011-10-15 17:47:56 -06:00 |
|
Daniel Nichter
|
48fb4baa7c
|
Use 'h=localhost' if no DSN or DSN options given. Remove unused DSN parts (D and t) and don't copy some parts. Move issue_947.t tests into standard_options.t and remove issue_947.t.
|
2011-10-14 07:59:43 -06:00 |
|
Daniel Nichter
|
964bb094a0
|
Get row estimate from NibbleIterator. Use user's index over MySQL's index when --where is given.
|
2011-10-13 09:23:53 -06:00 |
|
Daniel Nichter
|
28fa7d62c2
|
Support --where in NibbleIterator. If --where, prefer index that MySQL wants to use. Keep SHOW TABLE STATUS from SchemaIterator and re-use it in NibbleIterator (avoids double execution).
|
2011-10-13 08:49:32 -06:00 |
|
Daniel Nichter
|
083fb1b8ca
|
Make --explain cummulative. Update char_chunking.t. Reword checksum query comments.
|
2011-10-12 11:22:13 -06:00 |
|
Daniel Nichter
|
937a514b49
|
Add Cxn.t.
|
2011-10-11 10:31:25 -06:00 |
|
Daniel Nichter
|
b2f92391a7
|
Fatal error if slave dies. Make Cxn::connect() if dbh id dead. Sort slave lag properly and use Cxn instead of dbh in ReplicaLagWaiter. Check master cxn before keepalive. Sleep N+0.25 waiting for chunks.
|
2011-10-10 10:56:08 -06:00 |
|
Daniel Nichter
|
e2e40488c5
|
Add Cxn.pm. Make MasterSlave, NibbleIterator, and ReplicaLagWaiter use Cxn. Rewrite, simplify Retry.
|
2011-10-06 12:47:35 -06:00 |
|
Daniel Nichter
|
929000cfdd
|
Partial --resume implementation (work in progress).
|
2011-09-28 11:33:12 -06:00 |
|