Commit Graph

1541 Commits

Author SHA1 Message Date
Daniel Nichter
95f50fc0d8 Make run_service() work even if there's no API client/connection. 2013-09-18 21:25:00 -07:00
Daniel Nichter
f87a0739ac Update Client in pt-agent to handle pong. 2013-09-18 21:07:05 -07:00
Daniel Nichter
2962bbe71e Fix ping_api(): don't clobber // in http://. 2013-09-18 20:56:04 -07:00
Daniel Nichter
488b5de0b7 HEAD /agents doesn't work because app has /agents link. Use GET /ping instead. 2013-09-18 20:37:09 -07:00
Daniel Nichter
d6a46cfd33 Stop agent on 404 only if GET /agents is ok, in case API is down/broken for awhile and 404 is happening for everything. 2013-09-18 20:00:52 -07:00
Daniel Nichter
9d79ca4683 Check for $success from start_agent(), die if not. Make tries/interval explicit and limited to 1 day. 2013-09-18 19:06:11 -07:00
Daniel Nichter
77bd4f9edc Don't crash if init_agent() fails. 2013-09-18 18:50:56 -07:00
Daniel Nichter
cad211426c Make log about file logging only info not warning. 2013-09-18 16:06:36 -07:00
Daniel Nichter
55621e587c Stop agent on 404 while running. Add --[no]agent-api so stop_all_services() works offline. Update sample with histo data again. 2013-09-18 15:59:30 -07:00
Daniel Nichter
2e313de07d Fix the 404 agent not found error msg. 2013-09-18 15:34:35 -07:00
Daniel Nichter
0f27bd1e26 Stop running pt-agent if init_agent() gets 404. 2013-09-18 15:32:28 -07:00
Daniel Nichter
3ebd66b8e9 Always create in pt-agent even if not --daemonize to avoid crash. Update test result with new histogram data. 2013-09-18 14:05:48 -07:00
Daniel Nichter
ed6c18b6bc Add --uninstall. 2013-09-17 19:27:45 +00:00
Daniel Nichter
2ce400b778 Merge fix-pt-agent-lwp-bug-1226721. 2013-09-17 10:54:30 -07:00
Daniel Nichter
5ca02ee2e5 Require LWP v5.813 or newer to install or run. 2013-09-17 17:41:57 +00:00
Daniel Nichter
c3ff530037 Add Query_time histogram to json output. 2013-08-16 18:21:57 -07:00
Daniel Nichter
4fcb52f678 Merge fix-pt-kill-daemon-bug (bug 1209436). 2013-08-13 17:36:01 -07:00
Daniel Nichter
9d4f23fe53 Move --log-dsn tests from kill.t to log_dsn.t. Pass actual dsn, not retval of get_cxn_params() to Cxn. Add Sandbox::get_cnf(). 2013-08-12 14:19:57 -07:00
Daniel Nichter
c596331280 Move --log-dsn vars to outter scope to fix the rare Perl 5.8 scope-closure bug. 2013-08-12 09:11:53 -07:00
Daniel Nichter
a6dc5a91ec Read opts file in perl instead of 'cat file | perl' to avoid occasional 'cat: write error: Broken pipe'. 2013-08-09 21:21:55 +00:00
Daniel Nichter
50d33a4f00 Bump version 2.2.3 to 2.2.4 in tools, Changelog, and Makefile.PL. This went missing from 2.2.4 release. 2013-08-08 19:28:36 +00:00
Daniel Nichter
2ec4a4328c Update OptionParser in all tools. 2013-08-07 19:21:36 -07:00
Daniel Nichter
95e2c44304 Updating OptionParser in pt-archiver fixes the bug. 2013-08-07 19:19:30 -07:00
Daniel Nichter
8a8cc3e8ce Fix typos in pt-agent for bug 1204980. 2013-08-03 14:28:04 -07:00
Daniel Nichter
8773236f7e Update QueryRewriter in pqd. 2013-08-03 14:04:05 -07:00
Daniel Nichter
2a9798eb47 Fix version check in pqd by calling HTTP::Micro, not old HTTPMicro. 2013-08-03 12:43:19 -07:00
Daniel Nichter
f9b005b083 Use new Daemon API. 2013-08-03 12:29:08 -07:00
Daniel Nichter
6bea58572d Total fix for LOAD DATA distill in pqd. 2013-08-03 12:17:05 -07:00
Daniel Nichter
1ed23c7845 Update modules in pt-query-digest to fix bug 821692 and bug 984053. Replace HTTPMicro with HTTP::Micro. 2013-08-03 11:50:15 -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