Commit Graph

1613 Commits

Author SHA1 Message Date
Daniel Nichter cd8a027445 Don't check for /etc/percona/agent/my.cnf on install because slave installs need it. 2013-12-19 16:05:57 -08:00
Daniel Nichter d588960edf Fix pt-agent so services are not started until agent working MySQL connection. Remove service files and crontab entries on start. Don't say online logging is enabled when --no-log-api given. Remove/shorten some log messages. Use whoami if necessary for Agent.username. 2013-12-19 15:29:29 -08:00
Daniel Nichter 7c001f2eff Build percona-toolkit-2.2.6 2013-12-18 23:53:01 +00:00
Daniel Nichter 3713202ba9 Update Percona::Toolkit::VERSION. 2013-12-18 23:27:48 +00:00
Daniel Nichter b31bd395a5 Change copyright to Percona LLC and/or its affiliates. 2013-12-18 22:23:59 +00:00
Daniel Nichter 2a1654c47b Merge pt-stalk-sleep-collect-option. 2013-12-13 20:31:53 -08:00
Daniel Nichter 69586fdf50 Revert r587: *do* sync on clock ticks. Fix pt-stalk.t (127.1 no longer works?). Enhance --sleep-collect docs. 2013-12-13 20:19:51 -08:00
Daniel Nichter 3a52d9feb7 Note that --check-child-tables only prints first affect child table in error message. 2013-12-13 19:35:58 -08:00
Daniel Nichter 39c020020c Add and test --[no]check-child-tables. 2013-12-13 19:31:30 -08:00
Daniel Nichter 5ff62d6956 Fix tests. 2013-12-12 05:49:59 +00:00
Daniel Nichter 759d68f71f Merge 2013-12-12 05:04:09 +00:00
Daniel Nichter 591e5e00f3 Add back blank lines around Schema section contents. Use default vals for OPT_DATABASE, OPT_ALL_DATABASES, and OPT_READ_SAMPLE in report_mysql_info.sh to avoid errors in unit tests. 2013-12-12 05:02:34 +00:00
Daniel Nichter dc337ff740 Remove POD formattings. 2013-12-11 20:52:49 -08:00
Daniel Nichter 826685e636 Remove blank lines around Schema section contents. 2013-12-11 20:49:19 -08:00
Daniel Nichter b7320fc9ee Remove mysqldump prompt, add --all-databases, and make --databases or --all-databases required to do mysqldump (Schema section). 2013-12-11 20:40:57 -08:00
Daniel Nichter 33cd6e5eea Fix bug 1215016: pt-deadlock-logger docs mention pt-fk-error-logger. 2013-12-11 19:57:03 -08:00
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