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 |
|
Daniel Nichter
|
e825b233f5
|
Call JSON::decode() explicitly.
|
2013-06-15 13:00:15 -07:00 |
|
Daniel Nichter
|
ccb2a7e7c7
|
Fix call to check_deps() for normal runs.
|
2013-06-15 12:52:37 -07:00 |
|
Daniel Nichter
|
e3a8afc5b0
|
Fix Deb dep for IO::Socket::SSL.
|
2013-06-15 12:48:00 -07:00 |
|
Daniel Nichter
|
4f330004af
|
Add DBI to deps.
|
2013-06-15 12:45:28 -07:00 |
|
Daniel Nichter
|
48d8fbcfad
|
Actually exit if check_deps() fails in --install.
|
2013-06-15 12:34:47 -07:00 |
|
Daniel Nichter
|
e3c931ff39
|
Exit if check_deps() fails in --install.
|
2013-06-15 12:33:16 -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
|
e37bd32396
|
Start implementing Perl module dep check on --install.
|
2013-06-15 12:10:19 -07:00 |
|
Daniel Nichter
|
1496dd0aa5
|
Remove Rows_affected for SELECT|SHOW|SET|ADMIN in JSONReportFormatter.
|
2013-06-15 11:04:25 -07:00 |
|
Daniel Nichter
|
b966968f9c
|
Fix typo in __STAGE_FILE__.
|
2013-06-15 10:36:52 -07:00 |
|
Daniel Nichter
|
12c3bb307f
|
Make pqd exit 1 on invalid --resume line.
|
2013-06-15 10:33:11 -07:00 |
|
Daniel Nichter
|
c337d1ee44
|
Fix check for valid --resume file line.
|
2013-06-15 10:25:39 -07:00 |
|
Daniel Nichter
|
0437978fc1
|
Make pqd die on invalid --resume file line.
|
2013-06-15 10:21:21 -07:00 |
|
Daniel Nichter
|
00b9bc363d
|
Fix __META_FILE__ replacement.
|
2013-06-15 10:08:56 -07:00 |
|
Daniel Nichter
|
58f8dfc979
|
Fix typo in __META__FILE__.
|
2013-06-14 22:21:52 -07:00 |
|
Daniel Nichter
|
805dd500b9
|
Change --stop error.
|
2013-06-14 22:12:02 -07:00 |
|
Daniel Nichter
|
29b1d20857
|
Fix reporting errors when stopping services.
|
2013-06-14 22:05:51 -07:00 |
|
Daniel Nichter
|
85bc902cc2
|
Let --run-service work without an agent.
|
2013-06-14 22:00:49 -07:00 |
|
Daniel Nichter
|
3b21af5504
|
Fix STORE values by making $store service-scoped.
|
2013-06-14 21:38:13 -07:00 |
|
Daniel Nichter
|
490d95dee7
|
Simplify and maybe fix crash in replace_special_vars().
|
2013-06-14 21:22:55 -07:00 |
|
Daniel Nichter
|
a148ce1cff
|
eval replace_special_vars().
|
2013-06-14 21:11:47 -07:00 |
|
Daniel Nichter
|
84cf7c00d0
|
Add __ENV__ to replace_special_vars().
|
2013-06-14 21:05:50 -07:00 |
|
Daniel Nichter
|
7d2d3bfbfc
|
Update the docs.
|
2013-06-14 20:52:54 -07:00 |
|
Daniel Nichter
|
d074c1746b
|
Remove misleading 'Online logging enabled' message.
|
2013-06-14 20:19:02 -07:00 |
|