Commit Graph

2197 Commits

Author SHA1 Message Date
Daniel Nichter e89ce13e97 Test and fix bug 1217013. 2013-12-11 19:39:09 -08:00
Daniel Nichter 8ed6c956ac Update KeySize in pt-duplicate-key-checker to fix bug. Update all other modules too. 2013-12-11 18:17:16 -08:00
Daniel Nichter c726b8e624 Merge fix-pt-stalk-nfs-bug-1071979. 2013-12-10 20:50:17 -08:00
Daniel Nichter 0f9507559c Merge fix-pt-osc-find-new-table-bug-1195628. 2013-12-10 20:47:29 -08:00
Daniel Nichter ad988e87f4 Fix typo causing bug 1251726: --uninstall crashes. 2013-12-10 20:33:29 -08:00
Daniel Nichter d008ce7465 Check if pt-agent already installed (bug 1250973). Document slave and PXC install, clarify slave install error (bug 1251004, bug 1248778). Document MySQL user privs (bug 1248785), and quote the user name (bug 1250968). 2013-12-10 20:25:55 -08:00
Daniel Nichter 85ac9cbc5a Reconnect to MySQL with latest DSN each interval if configured. Re-get MySQL version if connection fails. Reduce first config wait from 60s to 20s. Report JSON, LWP, IO::Socket::SSL, and DBD::mysql versions. Fix Percona::Agent::Logger::debug(). 2013-12-10 19:07:36 -08:00
Daniel Nichter 1f93caf67c Add dsn opt to Cxn::connect() to change dsn. Update Cxn in pt-agent. 2013-12-04 16:14:17 -08:00
Daniel Nichter 567c1f11e6 Add rate_limit to JSON output. 2013-11-27 18:42:20 -08:00
Daniel Nichter c178934ab1 Combine '# Log_slow_rate_type: query Log_slow_rate_limit: 2' as 'query:2' and report as 'rate_limit' metric. 2013-11-27 18:25:55 -08:00
Daniel Nichter 56a32fe50b Print info about slaves found. Print --progress when waiting for new table to replicate to slaves. 2013-11-26 16:23:52 -08:00
Daniel Nichter 0a84ad99cb Add pt-agent --ping. 2013-11-07 19:00:56 -08:00
Daniel Nichter 4b9b6f968d Merge changes to skip data files > 15MB. 2013-11-07 18:19:24 -08:00
Daniel Nichter a40d34c579 Update OptionParser in all tools. 2013-11-07 17:47:46 -08:00
Daniel Nichter 805d07deb7 Print stats to STDERR. 2013-11-07 17:39:49 -08:00
Daniel Nichter 620627f43b Update lib in pt-stalk. 2013-10-31 11:23:02 -07:00
Alexey Bychko 595f4ad1f9 Build percona-toolkit-2.2.5 2nd 2013-10-22 12:56:20 +07:00
Alexey Bychko 86ae0f8eb0 Build percona-toolkit-2.2.5 2013-10-20 10:45:04 +07:00
Daniel Nichter cb87390848 Fix many various doc issues. 2013-10-16 13:14:33 +00:00
Daniel Nichter 166173a318 Don't quote FLOAT or DOUBLE in Quoter::quote_val(). 2013-10-10 15:58:02 -07:00
Daniel Nichter 12633dde17 Fix pt-deadlock-logger --run-time docs for 2.2. 2013-10-10 14:41:12 -07:00
Daniel Nichter 8b640ec2ae Test and fix bug 1206728. 2013-10-10 14:36:42 -07:00
Daniel Nichter a5b4781cda Merge fix-ptc-exit-status-bug-944051. 2013-10-10 12:25:00 -07:00
Daniel Nichter 4805b7b5c8 Note in docs: As of pt-table-checksum 2.2.5, skipped chunks cause a non-zero exit status. Also report skipped chunks due to lock wait timeout and killed query like other skipped chunks. Enhance explanation of SKIPPED column. 2013-10-10 12:21:39 -07:00
Daniel Nichter be8da58940 Cram all 7 exit statuses into LSB of standard 1-byte Unix exit code. 2013-10-10 10:07:15 -07:00
Daniel Nichter 171666a178 Test and fix --new-table-name. It works now. 2013-10-10 02:13:49 +00:00
Daniel Nichter ebe0afdff8 Always prefix default new table name; this makes tests pass. 2013-10-10 01:54:38 +00:00
Daniel Nichter 638e538d1d Fix how new args are passed to create_new_table(). 2013-10-10 01:43:00 +00:00
Daniel Nichter 8875db7f24 Add --new-table-name to pt-osc. 2013-10-09 18:30:01 -07:00
Daniel Nichter 57c234c89d Add Query_time to pqd JSON class example. 2013-10-09 17:54:25 -07:00
Daniel Nichter d4995b565d Add --[no]drop-triggers to pt-online-schema-change. 2013-10-09 13:23:10 -07:00
Daniel Nichter 3c2376023d Test pt-agent::send_data() with 400 error. 2013-10-09 12:10:56 -07:00
Daniel Nichter 9527daea4c Don't log warning and set non-zero exit on API error, just retry. 2013-10-04 15:32:59 -07:00
Daniel Nichter d8c2f24aa2 Fix the exit status example in the docs. 2013-10-03 11:33:41 -07:00
Daniel Nichter cd29c0d7dc Make ptc exit status 0, 255, or a bitmask of flags for various problems. 2013-10-03 11:32:11 -07:00
Daniel Nichter 5ebba34c5b Fix the warning about no slaves/nodes. 2013-10-02 11:39:26 -07:00
Daniel Nichter 8767640b1c Fix --recur-method=cluster crash. 2013-10-02 11:27:10 -07:00
Daniel Nichter a4ce8cce42 Don't log Exit: after --send-data to avoid crontab emails. 2013-09-29 16:09:46 -07:00
Daniel Nichter b1bdf96927 Keep GLOBAL in distill of SHOW GLOBAL STATUS|VARIABLES. 2013-09-26 19:16:19 -07:00
Daniel Nichter 622243bd2b Improve pt-agent --install on slave. Handle 403 (too many agents) during --install. 2013-09-25 20:43:17 -07:00
Daniel Nichter 4a84beee9f Add --ask-pass to pt-agent. 2013-09-25 18:39:35 -07:00
Daniel Nichter 8bdfcd7838 Add 0-30s random delay to send_data(). 2013-09-23 14:56:30 -07:00
Daniel Nichter ec2343f379 Retry 403 in init_agent(), warning just once. 2013-09-23 12:06:05 -07:00
Daniel Nichter f6f121ca82 Make init_agent() stop on 403 (too many agents). 2013-09-23 11:55:27 -07:00
Daniel Nichter 53d494ad0b Fix service name in logger. 2013-09-19 15:09:25 -07:00
Daniel Nichter 25024149be Make init_agent() tries required. Load service earlier in send_data() and run_service(). Fix init_agent.t. 2013-09-19 14:53:31 -07:00
Daniel Nichter a5259a8c77 More changes to agent logging. 2013-09-19 13:46:20 -07:00
Daniel Nichter 82169b771c More reduction of agent logging. 2013-09-19 13:25:20 -07:00
Daniel Nichter 841c39794c Silence a few more log entries. 2013-09-19 12:42:32 -07:00
Daniel Nichter dd5b2fb449 Make Percona::Agent::Logger::debug() offline (--no-log-api) only. Change most info() to debug() to reduce agent's verbosity. 2013-09-19 11:33:33 -07:00