Commit Graph

50 Commits

Author SHA1 Message Date
Daniel Nichter
d979821efe Rewrite ReplicaLagLimiter::wait(). 2011-09-21 10:30:33 -06:00
Daniel Nichter
6784bf30c3 Make error message prettier. 2011-09-20 12:00:42 -06:00
Daniel Nichter
bfb5b7ae6a Implement ReplicaLagLimiter. Add --chunk-time. 2011-09-20 11:52:35 -06:00
Daniel Nichter
006b93ddf9 Create ReplicaLagLimiter. Replace --max-lag, --check-interval, and --check-slave-lag with --replica-lag and --replica-lag-dsn. Use TableParser::get_table_status() in NibbleItertor. Eval SHOW TABLE STATUS. Auto-add "n" (name) part to parsed DSNs. 2011-09-16 17:35:40 -06:00
Daniel Nichter
32ade00663 Eval entire checksum op for each tbl. Use "percona" as default db for checksums table. 2011-09-15 11:46:57 -06:00
Daniel Nichter
bc2401ebf5 Remove MySQLDump from pt-table-checksum. Use "$tp" instead of "$du" in SchemaIterator. 2011-09-15 09:41:47 -06:00
Daniel Nichter
d5eb621333 Set AutoCommit=1. 2011-09-14 10:57:06 -06:00
Daniel Nichter
2f2644caf1 Update RowChecksum and OptionParser in pt-table-checksum. 2011-09-14 10:41:37 -06:00
Daniel Nichter
d881fa0b35 Change --chunk-size to type size. Make TIME column %.3f. Make OptionParser report invalid sizes. 2011-09-14 10:40:42 -06:00
Daniel Nichter
676a7aa20f Fix cols, sep, trim, and float precision. Re-add --columns. 2011-09-14 10:16:43 -06:00
Daniel Nichter
c7ff1cfd6a Fix --replicate-check. 2011-09-13 11:33:39 -06:00
Daniel Nichter
8daf767af5 Implement slave lag throttling, --recursion-method dsn=DSN, and --replicate-check. Change columns in output; add DIFFS column. Remove removed options from POD. 2011-09-13 11:26:56 -06:00
Daniel Nichter
5f2cdad299 Implement MasterSlave::get_slaves() to get cxns from a DSN table. Add comments explaining use_repl_db(). 2011-09-13 09:27:59 -06:00
Daniel Nichter
0fb3770635 Count and print total rows and time. 2011-09-12 11:21:24 -06:00
Daniel Nichter
82ace1a9b9 Fix debug statement causing error. 2011-09-12 11:07:24 -06:00
Daniel Nichter
155cd48259 Fix updating master_crc and master_cnt. Implement print_checksum_results(). 2011-09-12 11:05:28 -06:00
Daniel Nichter
5e7cb7597d Get CRC function once, not per-table. 2011-09-12 10:35:20 -06:00
Daniel Nichter
5281c76aaf Don't re-use same db in use_repl_db(). 2011-09-12 10:30:40 -06:00
Daniel Nichter
f0e87228dd Fix sakila.film_actor error. 2011-09-12 08:25:01 -06:00
Daniel Nichter
5eb857b7d3 Warn about oversize chunks. Use while() instead of for() to iter works. Fix typo in warning message. 2011-09-11 13:06:12 -06:00
Daniel Nichter
06b4928093 First working but unfinished pt-table-checksum 2.0. 2011-09-11 12:36:27 -06:00
Daniel Nichter
43aebffad1 Build percona-toolkit-1.0.1 2011-09-01 10:00:38 -06:00
Daniel Nichter
cdd5be4565 Update OptionParser in all tools. 2011-09-01 09:04:24 -06:00
Daniel Nichter
52ef2062e6 Changelog for 1.0.1. Use simplest version string in all tools. 2011-08-31 08:19:18 -06:00
Daniel Nichter
c58bb85773 Pass --where to calculate_chunks(). 2011-08-27 11:41:58 -06:00
Daniel Nichter
3c6edf6d71 Update TableChunker in pt-table-checksum. Include COUNT in test samples. 2011-08-27 11:26:00 -06:00
Daniel Nichter
2e0f607589 Pass --where to get_range_statistics(). 2011-08-27 09:23:36 -06:00
Daniel Nichter
4715afc7c0 Update MasterSlave.pm in all tools. 2011-08-23 08:31:04 -06:00
Daniel Nichter
c7154acff1 Update OptionParser in all tools. 2011-08-12 09:05:46 -06:00
Daniel Nichter
ff4fa81854 Build percona-toolkit-0.9.5 2011-08-04 14:35:38 -06:00
Daniel Nichter
ac34d09b17 Add check_pod_links to check-tool and fix tools that have POD links in literal blocks. 2011-08-04 09:22:50 -06:00
Daniel Nichter
5ca914b932 Remove pt-align and pt-rel. Update/clarify docu in some tools. 2011-08-03 11:53:12 -06:00
Daniel Nichter
f71eaa037a Add RISKS section to Bash tools. Re-order all tools' DOWNLOADING section. Remove some unused options. 2011-08-02 17:26:13 -06:00
Daniel Nichter
747d63a6d3 Tweak, fix, and add tests so every tool passes. 2011-08-02 16:38:03 -06:00
Daniel Nichter
827bed1b3e Update DOWNLOADING section in all tools. Update replace-text usage. 2011-07-20 11:35:53 -06:00
Daniel Nichter
e2e624e855 Continue work on build-packages. Add replace-text. Make some tools' descriptions one line so build-packages can parse them easily. 2011-07-15 17:50:16 -06:00
Daniel Nichter
48cf39930b Combine check-* scripts into super check-tool script. Add check-spelling, check-dev-env, and docs/test-coverage directory. 2011-07-14 17:49:32 -06:00
Daniel Nichter
c78beba647 Re-update modules in pt-table-sync and pt-table-checksum but keep old SchemaIterator. 2011-07-13 17:13:11 -06:00
Daniel Nichter
1f52b66919 Update MasterSlave in all tools. 2011-07-13 16:52:32 -06:00
Daniel Nichter
1480606bb2 Fix MasterSlave::get_slave_lag(). Revert pt-table-checksum to use old SchemaIterator. Remove pt-table-usage tests. Fix use of var from another package in pt-query-digest. Remove reference to $VERSION from pt-show-grants. Change mk- to pt- in pt-variable-advisor sample. 2011-07-13 16:36:14 -06:00
Daniel Nichter
39ea018581 Finish re-branding tools. Remove pt-schema-advisor. 2011-07-12 16:36:36 -06:00
Daniel Nichter
2597c09f17 Update all modules in all tools. Remove pt-table-usage. Make update-modules ignore non-Perl tools. 2011-07-12 16:09:06 -06:00
Daniel Nichter
8f68f08f8e Replace maatkit.org with percona.com. 2011-07-11 17:09:12 -06:00
Daniel Nichter
4559e55153 Replace $TOOL with tool name. 2011-07-11 16:58:56 -06:00
Daniel Nichter
aa318cb93f Re-brand standard POD sections (DOWNLOADING, ENVIRONMENT, etc). Change ABOUT MAATKIT to ABOUT PERCONA TOOLKIT. 2011-07-11 16:56:02 -06:00
Daniel Nichter
89f97d6099 Remove duplicate copyright notices. Add POD and copyright for Aspersa tools. Fix checking for "pt-pmp" instead of "pmp", etc. 2011-07-11 11:57:53 -06:00
Daniel Nichter
a9e002cc5a Add Aspersa tools, their tests, and util/test-bash-tool.
Update and simplify copyright notices.
2011-07-01 10:29:50 -06:00
Daniel Nichter
fd0941534a Change mk- to pt- in all tools. 2011-06-29 09:47:55 -06:00
Daniel Nichter
7ba1ae5d8c Change tool packages from mk_ to pt_. 2011-06-29 09:40:09 -06:00
Daniel Nichter
b4b6376be1 Add forked Maatkit tools in bin/ and their tests in t/. 2011-06-24 16:02:05 -06:00