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 |
|
Daniel Nichter
|
e8fc50dad1
|
Enable online logging manually in Logger::enable_online_logging() instead of BUILD() because threads don't share data.
|
2013-05-17 09:59:20 -07:00 |
|
Daniel Nichter
|
fe50f5d916
|
Fix type: _message_queue, not message_queue.
|
2013-05-17 09:47:36 -07:00 |
|
Daniel Nichter
|
ea481471c0
|
Always build message queue, don't dequeue until it exists though.
|
2013-05-17 09:45:09 -07:00 |
|
Daniel Nichter
|
e2aab02bee
|
Add sleep time between log queue sends.
|
2013-05-17 09:36:36 -07:00 |
|
Daniel Nichter
|
df6ba9f3a5
|
First implementation of online logging.
|
2013-05-17 09:32:32 -07:00 |
|
Daniel Nichter
|
a0ba15c27e
|
Implement Percona::Agent::Logger without logging via API yet.
|
2013-05-16 16:22:36 -07:00 |
|
Daniel Nichter
|
82af5eaef1
|
Create lib/Percona/Agent/Logger.pm for asynchronous agent status logging via the API.
|
2013-05-15 18:31:08 -07:00 |
|
Daniel Nichter
|
84c8906de4
|
Create lib/Safeguards.pm to implement new --disk-bytes-free and --disk-pct-free in pt-agent.
|
2013-05-15 13:27:44 -07:00 |
|
Daniel Nichter
|
983af3b158
|
Always save response object in PWS client before returning or dying.
|
2013-05-10 12:15:34 -07:00 |
|
Daniel Nichter
|
cb9cc2794f
|
Add Agent.actions. Make pqd warn if resume file does not exist. Print which services have been added, removed, and updated.
|
2013-05-10 10:12:40 -07:00 |
|
Daniel Nichter
|
e8eca8dde1
|
Merge lp:~percona-toolkit-dev/percona-toolkit/pqd-enhanced-resume-file r582.
|
2013-05-07 20:19:37 -07:00 |
|
Daniel Nichter
|
89db22894e
|
Test get_services(). Need to fix/update other tests.
|
2013-04-19 14:49:01 -06:00 |
|
Daniel Nichter
|
7cee5a480e
|
Add ts to Service resource. Rewrite how pt-agent handles applying services: use new meta attrib to find real service, then look for start-service and stop-service; schedule anything with a run_schedule or spool_schedule. Remove Percona/WebAPI/Util.
|
2013-04-18 16:47:15 -06:00 |
|
Daniel Nichter
|
d63bc8c9d1
|
Make Agent.username and .hostname optional so they can be loaded from a minimal agent file and updated at runtime.
|
2013-04-10 17:03:27 -06:00 |
|
Daniel Nichter
|
230d8e0394
|
Fix Agent.username default.
|
2013-04-10 16:57:43 -06:00 |
|
Daniel Nichter
|
7bfc694be4
|
Change Agent.user to Agent.username and make it and hostname rw.
|
2013-04-10 16:57:06 -06:00 |
|
Daniel Nichter
|
aecdca7420
|
Add Agent.user attribute.
|
2013-04-10 15:52:18 -06:00 |
|
Daniel Nichter
|
79c8705f02
|
Update default entry link. Handle catch/exit on signal better, faster.
|
2013-04-09 17:32:43 -06:00 |
|
Daniel Nichter
|
a9e06286af
|
Handle run-once services. Stub implementation of --stop.
|
2013-04-08 16:17:08 -06:00 |
|
Daniel Nichter
|
1610cbae96
|
Tweak Daemon.pm: re-enable output autoflush, add parent_exit callback arg, make _check_pid_file() check if the current and existing PID are the same.
|
2013-04-06 10:44:20 -06:00 |
|
Daniel Nichter
|
2ac102da0b
|
Large refactoring of pt-agent to make the initial start up experience more reliable, i.e. just run and wait till a good config makes everything else work.
|
2013-04-05 18:12:33 -06:00 |
|
Daniel Nichter
|
3d5325ae03
|
Rewrite Daemon.pm: don't require an OptionParser, one public func, run(), that does the whole daemonize process or just check the PID file.
|
2013-04-05 12:16:16 -06:00 |
|
Daniel Nichter
|
afa6533f43
|
Fix and test resource_diff().
|
2013-03-27 11:12:38 -06:00 |
|
Daniel Nichter
|
9e1d935e19
|
Add Service.run_once_on_start. Refactor get config and get services blocks.
|
2013-03-22 12:08:45 -06:00 |
|
Daniel Nichter
|
c1cce0c6ca
|
Get and send real program version when the agent starts.
|
2013-03-21 13:50:49 -06:00 |
|
Daniel Nichter
|
0e9e897791
|
Use 'Content-Type: multipart/form-data; boundary=Ym91bmRhcnk' to send multi-part data.
|
2013-03-21 07:52:21 -06:00 |
|
Daniel Nichter
|
cf0342c69e
|
Implement and test running queries for tasks.
|
2013-03-19 18:17:24 -06:00 |
|
Daniel Nichter
|
846daa6c31
|
Fix/update/test sending data. Rename query-monitor to query-server in tests.
|
2013-03-19 16:35:37 -06:00 |
|
Daniel Nichter
|
70c28272a7
|
Fix/update t/pt-agent/init_agent.t.
|
2013-03-19 14:44:02 -06:00 |
|
Daniel Nichter
|
2291a3c6c6
|
Update Lmo in pt-agent. Start fixing pt-agent tests.
|
2013-03-19 12:10:22 -06:00 |
|
Daniel Nichter
|
c61f822d23
|
Fix typo in lib/Lmo/Utils.pm header.
|
2013-03-19 11:58:26 -06:00 |
|
Daniel Nichter
|
f353600076
|
Merge release-2.2.1 to get Lmo with headers.
|
2013-03-19 11:56:17 -06:00 |
|
Daniel Nichter
|
675dffa567
|
Add headers to Lmo/*.pm so update-modules can handle them.
|
2013-03-19 11:50:21 -06:00 |
|
Daniel Nichter
|
9286765076
|
Merge 2.2.1 to get pqd without --output json.
|
2013-03-19 11:36:21 -06:00 |
|
Daniel Nichter
|
d28faa9b25
|
Don't require Task program or output attrib values.
|
2013-03-19 11:31:22 -06:00 |
|
Daniel Nichter
|
84ab975438
|
Fix query time diff formatting in pt-upgrade.
|
2013-03-14 09:20:54 -06:00 |
|
Brian Fraser
|
d3612481c2
|
Merged remove-ptqa
|
2013-03-13 16:55:22 -03:00 |
|
Daniel Nichter
|
5ddfb95ca7
|
Fix lib/Cxn.pm that didn't merge correctly. Fix t/lib/OptionParser.t test failure. Update Cxn, OptionParser, and DSNParser in all tools.
|
2013-03-13 12:38:45 -06:00 |
|
Brian Fraser
|
55bb01bb6e
|
Removed pt-query-advisor
|
2013-03-13 11:50:08 -03:00 |
|
Daniel Nichter
|
5a5fe75130
|
Merge pt-stalk-1019648.
|
2013-03-12 15:23:02 -06:00 |
|
Daniel Nichter
|
7f728acddd
|
Move code to get InnoDB status into its own sub.
|
2013-03-12 15:08:25 -06:00 |
|
Daniel Nichter
|
d0c40f0a65
|
Merge fix-1086018-pt-config-diff-wsrep_provider_options.
|
2013-03-12 09:29:18 -06:00 |
|
Daniel Nichter
|
4cbd8c2295
|
Update Percona::Toolkit::VERSION in all tools.
|
2013-03-14 10:27:23 -07:00 |
|
Daniel Nichter
|
de7b8ca0e5
|
Merge 2.1.9, including its s/Percona Inc/Percona Ireland Ltd/ changes.
|
2013-03-14 10:58:03 -06:00 |
|
Daniel Nichter
|
2670850a70
|
Functional test and fix query time diffs.
|
2013-03-11 19:23:02 -06:00 |
|
Daniel Nichter
|
b2809f2a0c
|
Fix and test UpgradeResults::format_query_times001().
|
2013-03-11 18:51:43 -06:00 |
|