Daniel Nichter
|
ab7307baff
|
Add notice about connecting to MySQL.
|
2013-05-14 17:28:51 -07:00 |
|
Daniel Nichter
|
3c70839c3a
|
Pass pid_file to reset_agent() so it can pass it to stop_agent().
|
2013-05-14 17:21:27 -07:00 |
|
Daniel Nichter
|
c6c963f3ee
|
Fix typo and add confirmation prompt of STDIN is a tty.
|
2013-05-14 17:17:28 -07:00 |
|
Daniel Nichter
|
8a2dee28c9
|
Implement --reset/reset_agent().
|
2013-05-14 17:07:21 -07:00 |
|
Daniel Nichter
|
a1aae7a5c9
|
Clean up daemonize message.
|
2013-05-13 17:10:39 -07:00 |
|
Daniel Nichter
|
f4df337c20
|
Fix ps command for real.
|
2013-05-13 17:06:25 -07:00 |
|
Daniel Nichter
|
7516f458c7
|
Fix ps command.
|
2013-05-13 17:04:06 -07:00 |
|
Daniel Nichter
|
98a909fdb2
|
Detect orphaned services.
|
2013-05-13 17:01:34 -07:00 |
|
Daniel Nichter
|
67fbad1a7f
|
Make not-running status ok.
|
2013-05-13 16:55:39 -07:00 |
|
Daniel Nichter
|
71042beeef
|
Fix typo.
|
2013-05-13 16:51:46 -07:00 |
|
Daniel Nichter
|
ab3cd36393
|
Fix typo: it's decode_json() not json_decode().
|
2013-05-13 16:48:39 -07:00 |
|
Daniel Nichter
|
64e24385cf
|
Fix --reset POD.
|
2013-05-13 16:46:54 -07:00 |
|
Daniel Nichter
|
8732a2191d
|
Factor get_agent_pid() from stop_agent(). Implement Percona::Agent::Exception classes. Implement --status/agent_status().
|
2013-05-13 16:44:07 -07:00 |
|
Daniel Nichter
|
4feb40f432
|
Add stubs for --status and --reset.
|
2013-05-13 13:23:58 -07:00 |
|
Daniel Nichter
|
3770a41531
|
Fix typo.
|
2013-05-10 12:36:17 -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
|
d001c6c492
|
Report simpler client-side failures to send data. Add ts to metadata to making finding failures in server logs easier.
|
2013-05-10 12:09:16 -07:00 |
|
Daniel Nichter
|
bf094713ad
|
Use .data for data file in stage so it's auto-removed if zero size.
|
2013-05-10 11:22:52 -07:00 |
|
Daniel Nichter
|
f632824bc1
|
Reschedule services if one is removed. Report when no services have changed.
|
2013-05-10 11:03:27 -07:00 |
|
Daniel Nichter
|
05d7496e14
|
Only re-schedule services when they change.
|
2013-05-10 10:47:36 -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
|
fe21bb32ba
|
Fix typo, tweak install messages again.
|
2013-05-09 14:00:05 -07:00 |
|
Daniel Nichter
|
c7b897c4bf
|
Fix messages install messages.
|
2013-05-09 13:54:03 -07:00 |
|
Daniel Nichter
|
3d9764c0a9
|
Fix typo.
|
2013-05-09 13:46:38 -07:00 |
|
Daniel Nichter
|
fc486d7da0
|
Start pt-agent --daemonize at end of --install.
|
2013-05-09 13:42:44 -07:00 |
|
Daniel Nichter
|
5faa104378
|
Don't disconnect dbh in start_agent().
|
2013-05-08 20:55:10 -07:00 |
|
Daniel Nichter
|
16e016e027
|
Don't disconnect dbh in get_versions().
|
2013-05-08 20:48:45 -07:00 |
|
Daniel Nichter
|
f09ef8b91f
|
Remove --install method.
|
2013-05-08 20:40:34 -07:00 |
|
Daniel Nichter
|
7408b2646b
|
More implementation for --install.
|
2013-05-08 20:30:03 -07:00 |
|
Daniel Nichter
|
d4013adf53
|
Remove only stage files.
|
2013-05-08 16:00:25 -07:00 |
|
Daniel Nichter
|
28b602bf43
|
Remove all stage files.
|
2013-05-08 15:41:34 -07:00 |
|
Daniel Nichter
|
fce958eb68
|
s/Run/Task/ for consistency. Remove extra dot.
|
2013-05-08 15:31:20 -07:00 |
|
Daniel Nichter
|
9e9025dac8
|
Use glob instead of opendir and readdir.
|
2013-05-08 15:28:29 -07:00 |
|
Daniel Nichter
|
72616620b4
|
Fix --stop to look for stop-<service> instead of disable-<service>.
|
2013-05-08 14:11:15 -07:00 |
|
Daniel Nichter
|
c78574d5d5
|
Change task output type tmp to stage. Allow 2+ digit __RUN_<number>_OUTPUT__.
|
2013-05-08 12:25:49 -07:00 |
|
Daniel Nichter
|
bf2322703a
|
Start implementing --install.
|
2013-05-07 22:47:11 -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
|
a5f04f27e4
|
Do not use PID files for --run-service so one service can run concurrently.
|
2013-05-07 20:17:18 -07:00 |
|
Daniël van Eeden
|
861c38f3c7
|
Merge from upstream
|
2013-05-07 13:01:21 +02:00 |
|
Daniël van Eeden
|
954a2a987c
|
Use "-output" instead of "-df" to fix LP #1172317
|
2013-05-07 12:55:32 +02:00 |
|
Daniel Nichter
|
881d2ebaa9
|
Update pt-agent docs.
|
2013-05-06 19:58:38 -07:00 |
|
Daniel Nichter
|
4bfb634c15
|
Hack pt-query-digest to write events to a file each time it runs.
|
2013-05-04 14:38:37 -07:00 |
|
Daniel Nichter
|
fb70205a15
|
Use UTC for log ts.
|
2013-05-04 12:49:09 -07:00 |
|
Daniel Nichter
|
12636c0b65
|
Remove staged meta files after joining them.
|
2013-05-03 16:33:54 -07:00 |
|
Daniel Nichter
|
efed54c424
|
Replace __TS__ special var.
|
2013-05-03 16:26:11 -07:00 |
|
Daniel Nichter
|
a62b2c193b
|
Don't rm meta files after running a service. Save unchanged services in sort_services() and re-schedule them.
|
2013-05-03 16:12:52 -07:00 |
|
Brian Fraser
|
5cce618f86
|
Fix for 1176010: pt-query-digest should know how to group quoted and unquoted database names
|
2013-05-03 10:19:42 -03:00 |
|
Daniel Nichter
|
1b547b9822
|
Only schedule services that start ok.
|
2013-05-02 14:56:35 -07:00 |
|
Daniel Nichter
|
ffd97f1d71
|
Save meta output.
|
2013-05-01 21:48:39 -07:00 |
|
Daniel Nichter
|
fc420ea88e
|
Remove code to handle metadata; instead, let tasks handle metadata and simply concat and send any service.meta.* files/values. Prefix run files with a ts to allow for concurrent runs of the same service.
|
2013-05-01 20:19:42 -07:00 |
|