Commit Graph

1866 Commits

Author SHA1 Message Date
Daniel Nichter
47ef093a58 Calc collect loop run time based on start ts - curr ts so arbitrary --sleep-collect work. Do not sync on clock ticks. 2013-07-24 12:49:28 -07:00
Daniel Nichter
86a949253d Allow string interpol in collect sleep calc so --sleep-collect works. 2013-07-24 12:08:01 -07:00
Daniel Nichter
167f663bf5 Update collect lib in pt-stalk. 2013-07-24 12:00:13 -07:00
Daniel Nichter
50301e51d5 Add --sleep-collect, default 1. 2013-07-24 11:53:08 -07:00
Daniel Nichter
b48d835006 Update Percona::Toolkit::VERSION in module and all tools. 2013-07-17 12:41:00 -07:00
Daniel Nichter
b5ce4dd4e9 Update NibbleIterator in tools. 2013-07-10 10:24:02 -07:00
Daniel Nichter
b14a478f3c Test --output json-anon. 2013-07-01 13:59:12 -07:00
Daniel Nichter
16e57a8fea Add --output json-anon that excludes query examples. 2013-07-01 13:38:34 -07:00
Daniel Nichter
ee758c6f31 Fix docs to account for --utc. 2013-06-28 11:11:35 -07:00
Daniel Nichter
67afd604b5 Fix innodb_max_dirty_pages_pct advice. 2013-06-27 14:45:56 -07:00
Daniel Nichter
d54595c194 Change advice for key_buffer_size. 2013-06-27 13:54:10 -07:00
Daniel Nichter
e6950a1c41 Update QueryRewriter in all tools. 2013-06-27 12:06:24 -07:00
Daniel Nichter
194ca2462c Document --type=rawlog in pqd (bug 1171968). 2013-06-27 11:41:24 -07:00
Daniel Nichter
9b38740a54 Merge fix-1176010-pqd-grouping-quoted-vals. 2013-06-26 16:10:41 -07:00
Daniel Nichter
53881e3d99 Tweak sanitize_evnet(). 2013-06-26 16:06:29 -07:00
Daniel Nichter
7ca202ee0a Test and handle timestamp lines like: 130624 17:39:24TOO DEEP OR LONG SEARCH IN THE LOCK TABLE WAITS-FOR GRAPH, WE WILL ROLL BACK FOLLOWING TRANSACTION 2013-06-26 15:23:44 -07:00
Daniel Nichter
8584f3b734 Fix call to undefined get() by removing it and simplifying the warning message. 2013-06-26 13:28:27 -07:00
Daniel Nichter
362d80f7e8 Fix NULL vs. NULL comparison. 2013-06-26 12:26:34 -07:00
Daniel Nichter
0d96d5aafa Merge bzr merge lp:~dveeden/percona-toolkit/bug1172317. 2013-06-26 11:40:23 -07:00
Daniel Nichter
70f5c17bc4 Fix ptc by making ts column explicitly NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP. 2013-06-25 18:30:12 -07:00
Daniel Nichter
301afe2f34 Update SchemaIterator in all tools. 2013-06-25 16:30:23 -07:00
Daniel Nichter
0ec803417d Update OptionParser in all tools. 2013-06-25 15:32:19 -07:00
Daniel Nichter
00a2fc3e23 Add timestamp to lines indicating actions that might take awhile, e.g. "Dropping triggers...". 2013-06-25 12:52:03 -07:00
Daniel Nichter
ca2774cbd3 Pre-build updates. 2013-06-17 08:08:46 +01:00
Daniel Nichter
88280e321d Update Percona::Toolkit in all tools. 2013-06-16 23:25:20 -07:00
Daniel Nichter
0736427bbf Megre pt-agent branch. 2013-06-16 23:23:11 -07:00
Daniel Nichter
dc8fb90173 Fix it again, again. 2013-06-16 23:12:09 -07:00
Daniel Nichter
4f3fa288b1 Fix it again--the pitfalls of working so long and late. 2013-06-16 23:06:06 -07:00
Daniel Nichter
c2af32cd0f Fix Logger error spamming. 2013-06-16 22:59:43 -07:00
Daniel Nichter
61bf5c5e24 Change the error spam threshold from 100 to 10. 2013-06-16 22:54:07 -07:00
Daniel Nichter
9215fd5a02 Add 2 safeguards to Agent::Logger to avoid excessive memory usage and error spamming. 2013-06-16 22:37:42 -07:00
Daniel Nichter
1b0431301a Fix typo in error message. 2013-06-16 22:06:22 -07:00
Daniel Nichter
321eee1f67 Finish updating/fixing tests. 2013-06-16 21:01:30 -07:00
Daniel Nichter
d14951ae5f Make entry_links an arg to send_data() and run_services. Start updating/fixing tests. Add lib/Percona/Test/Mock/AgentLogger.pm. 2013-06-16 17:28:18 -07:00
Daniel Nichter
58736c7b0e Set v2.2 instead of 3.0. 2013-06-16 15:19:42 -07:00
Daniel Nichter
459696d4f9 Fix --install. Support output=append:FILE. 2013-06-16 15:03:05 -07:00
Daniel Nichter
9c559df77e Change __TRASH_FILE__ to just __TRASH__. Enforce 15M max data file size. Clean up the code. Rename check_deps() to missing_perl_module_deps(). 2013-06-16 14:20:02 -07:00
Daniel Nichter
21cb6c87d4 Change exit 252 to 200 like HTTP 200 OK because this is an OK exit for meta-services. 2013-06-15 20:32:54 -07:00
Daniel Nichter
8dc5cf416e Fix stop_service(). 2013-06-15 20:06:13 -07:00
Daniel Nichter
a968bff97d Fix typo. 2013-06-15 19:51:37 -07:00
Daniel Nichter
9e67c8a48b Fix serious bug: run STOP-service not service in stop_service(), else a fork-bomb ensues. Make run_service() write PID-specific PIDs, then check for too_many_agents() first thing on start. 2013-06-15 19:44:52 -07:00
Daniel Nichter
c35e38ab3b Check for crontab during --install. 2013-06-15 19:06:42 -07:00
Daniel Nichter
a01af7e331 Handle meta-service exit 252 == exit 0 in parent. 2013-06-15 18:38:12 -07:00
Daniel Nichter
46c979d284 Keep no-log-api in .pt-agent.conf. 2013-06-15 18:18:22 -07:00
Daniel Nichter
5d0ccf647d Last task on exit 253 and 254. 2013-06-15 18:12:25 -07:00
Daniel Nichter
f2346bf550 Use 253 not 200. 2013-06-15 17:47:36 -07:00
Daniel Nichter
77851d666b Handle exit status 200 and 254. 2013-06-15 17:37:26 -07:00
Daniel Nichter
0fa7aa4ddb Add --install-options, handle install on slave, use /etc/percona/agent/my.cnf if it exists. 2013-06-15 17:06:44 -07:00
Daniel Nichter
b29c7a8064 Only try twice to connect to MySQL for run_service(), then log an error instead of a warning. 2013-06-15 13:24:42 -07:00
Daniel Nichter
bfb01172be Check for root before checking deps in install(). 2013-06-15 13:01:35 -07:00