Commit Graph

121 Commits

Author SHA1 Message Date
Frank Cizmich
ef6985a256 merged pt-table-checksum-refuses-to-run-on-PXC-if-server_id-is-the-same-on-all-nodes-1217466 2014-11-06 19:38:59 -02:00
Frank Cizmich
f237f4a0df We now use wsrep_node_incoming_address as a more reliable way to detect cluster node duplicates - 1217466 2014-10-23 15:32:34 -02:00
Frank Cizmich
56ae6a2b4b changed Version number in Percona::Toolkit 2014-09-24 12:06:32 -03:00
Frank Cizmich
6af70d3243 Updated version number to 2.2.10 2014-08-05 17:37:42 -03:00
Frank Cizmich
2875e9b7e4 changed $VERSION to 2.2.9 2014-07-04 13:13:38 -03:00
Daniel Nichter
97ac58b7f2 Update Changelog for 2.2.8. Set Percona::Toolkit::VERSION = 2.2.8. 2014-05-29 17:55:59 -07:00
Daniel Nichter
a67624820e Remove pt-agent. 2014-04-25 21:29:08 -07:00
Daniel Nichter
99587e7fce Set Percona::Toolkit::VERSION = 2.2.7. 2014-02-19 19:47:43 -08:00
Daniel Nichter
3713202ba9 Update Percona::Toolkit::VERSION. 2013-12-18 23:27:48 +00: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
Alexey Bychko
595f4ad1f9 Build percona-toolkit-2.2.5 2nd 2013-10-22 12:56:20 +07:00
Daniel Nichter
82169b771c More reduction of agent logging. 2013-09-19 13:25:20 -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
Daniel Nichter
9b47d94c87 Handle pong. 2013-09-18 21:05:48 -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
b48d835006 Update Percona::Toolkit::VERSION in module and all tools. 2013-07-17 12:41:00 -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
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
e825b233f5 Call JSON::decode() explicitly. 2013-06-15 13:00:15 -07:00
Daniel Nichter
7950b0d7cd Do require not eval for delayed loading. 2013-06-15 12:31:38 -07:00
Daniel Nichter
5be7c252b8 Delay loading required non-core modules and let pt-agent check for them manually. 2013-06-15 12:23:04 -07:00
Daniel Nichter
7d2d3bfbfc Update the docs. 2013-06-14 20:52:54 -07:00
Daniel Nichter
1c29d6adb3 Make Agent.versions rw. 2013-06-14 19:59:14 -07:00
Daniel Nichter
31157e368f Get MySQL version if needed. Remove Agent.actions. 2013-06-14 19:54:30 -07:00
Daniel Nichter
a26792e2fd New --install output: quieter, more consistent. 2013-06-14 13:49:58 -07:00
Daniel Nichter
a54f59626f Fix send_data() and run_services(). Add --interactive. Print message about starting online logging in start_online_logging() to avoid false-positive. eval send_data() and run_service() to catch spurious errors. 2013-06-11 11:11:11 -07:00
Daniel Nichter
b40db4ac7b Allow online logging to be disabled. 2013-06-11 10:36:42 -07:00
Daniel Nichter
058bc30e27 Actually include the n_lines in the log entry line. 2013-06-10 20:15:16 -07:00
Daniel Nichter
4db9aac13b Fix typo in run_services(). Print random stuff on STDERR as warnings. 2013-06-10 20:11:03 -07:00
Daniel Nichter
8641d55a4e Fix log entry line regex. 2013-06-10 20:02:32 -07:00
Daniel Nichter
bee0c7a5f1 Handle multi-line log events. 2013-06-10 19:59:39 -07:00
Daniel Nichter
6e3ba2ce24 Make Logger data_ts and service attribs rw. 2013-06-09 20:05:54 -07:00
Daniel Nichter
ad4e9a9207 Fix pipe handling so all log entries are written. 2013-06-09 19:29:52 -07:00
Daniel Nichter
aadb5dbd80 Queue buffered log entries when destroyed. 2013-06-09 17:33:01 -07:00
Daniel Nichter
8eff03c294 Add pid to LogEntry. Use online logging for --send-data. 2013-06-09 17:15:16 -07:00
Daniel Nichter
34bc178cd8 Rewrite Logger using pipes because Perl threads cause a small memory leak. 2013-06-09 15:53:35 -07:00
Daniel Nichter
e26a8744ef Queue and log all entries online. 2013-06-09 11:54:10 -07:00
Daniel Nichter
bcb3758f64 Make Percona/Agent/Logger always log online. 2013-06-09 10:31:56 -07:00
Daniel Nichter
2dbe188d5b Add service, data_ts, and entry_ts to LogEntry resource. Add corresponding attribs to Logger, as well as queue_wait. 2013-05-28 20:00:59 -07:00
Daniel Nichter
99592409e6 Add Logger::stop_online_logging(). 2013-05-20 14:03:39 -07:00
Daniel Nichter
20c3bd6c29 Destroy Logger object. Add LogEntry module/resource. 2013-05-20 13:49:51 -07:00
Daniel Nichter
52e37e2dc2 Fix stopping logger thread for real. 2013-05-19 12:46:47 -07:00
Daniel Nichter
52d9a91b4d Fix stopping the logging thread on Ctrl-C, I think. 2013-05-19 12:09:51 -07:00