Daniel Nichter
|
805d07deb7
|
Print stats to STDERR.
|
2013-11-07 17:39:49 -08:00 |
|
Alexey Bychko
|
595f4ad1f9
|
Build percona-toolkit-2.2.5 2nd
|
2013-10-22 12:56:20 +07:00 |
|
Alexey Bychko
|
86ae0f8eb0
|
Build percona-toolkit-2.2.5
|
2013-10-20 10:45:04 +07:00 |
|
Daniel Nichter
|
cb87390848
|
Fix many various doc issues.
|
2013-10-16 13:14:33 +00:00 |
|
Daniel Nichter
|
166173a318
|
Don't quote FLOAT or DOUBLE in Quoter::quote_val().
|
2013-10-10 15:58:02 -07:00 |
|
Daniel Nichter
|
12633dde17
|
Fix pt-deadlock-logger --run-time docs for 2.2.
|
2013-10-10 14:41:12 -07:00 |
|
Daniel Nichter
|
8b640ec2ae
|
Test and fix bug 1206728.
|
2013-10-10 14:36:42 -07:00 |
|
Daniel Nichter
|
a5b4781cda
|
Merge fix-ptc-exit-status-bug-944051.
|
2013-10-10 12:25:00 -07:00 |
|
Daniel Nichter
|
4805b7b5c8
|
Note in docs: As of pt-table-checksum 2.2.5, skipped chunks cause a non-zero exit status. Also report skipped chunks due to lock wait timeout and killed query like other skipped chunks. Enhance explanation of SKIPPED column.
|
2013-10-10 12:21:39 -07:00 |
|
Daniel Nichter
|
be8da58940
|
Cram all 7 exit statuses into LSB of standard 1-byte Unix exit code.
|
2013-10-10 10:07:15 -07:00 |
|
Daniel Nichter
|
171666a178
|
Test and fix --new-table-name. It works now.
|
2013-10-10 02:13:49 +00:00 |
|
Daniel Nichter
|
ebe0afdff8
|
Always prefix default new table name; this makes tests pass.
|
2013-10-10 01:54:38 +00:00 |
|
Daniel Nichter
|
638e538d1d
|
Fix how new args are passed to create_new_table().
|
2013-10-10 01:43:00 +00:00 |
|
Daniel Nichter
|
8875db7f24
|
Add --new-table-name to pt-osc.
|
2013-10-09 18:30:01 -07:00 |
|
Daniel Nichter
|
57c234c89d
|
Add Query_time to pqd JSON class example.
|
2013-10-09 17:54:25 -07:00 |
|
Daniel Nichter
|
d4995b565d
|
Add --[no]drop-triggers to pt-online-schema-change.
|
2013-10-09 13:23:10 -07:00 |
|
Daniel Nichter
|
3c2376023d
|
Test pt-agent::send_data() with 400 error.
|
2013-10-09 12:10:56 -07:00 |
|
Daniel Nichter
|
9527daea4c
|
Don't log warning and set non-zero exit on API error, just retry.
|
2013-10-04 15:32:59 -07:00 |
|
Daniel Nichter
|
d8c2f24aa2
|
Fix the exit status example in the docs.
|
2013-10-03 11:33:41 -07:00 |
|
Daniel Nichter
|
cd29c0d7dc
|
Make ptc exit status 0, 255, or a bitmask of flags for various problems.
|
2013-10-03 11:32:11 -07:00 |
|
Daniel Nichter
|
5ebba34c5b
|
Fix the warning about no slaves/nodes.
|
2013-10-02 11:39:26 -07:00 |
|
Daniel Nichter
|
8767640b1c
|
Fix --recur-method=cluster crash.
|
2013-10-02 11:27:10 -07:00 |
|
Daniel Nichter
|
a4ce8cce42
|
Don't log Exit: after --send-data to avoid crontab emails.
|
2013-09-29 16:09:46 -07:00 |
|
Daniel Nichter
|
b1bdf96927
|
Keep GLOBAL in distill of SHOW GLOBAL STATUS|VARIABLES.
|
2013-09-26 19:16:19 -07:00 |
|
Daniel Nichter
|
622243bd2b
|
Improve pt-agent --install on slave. Handle 403 (too many agents) during --install.
|
2013-09-25 20:43:17 -07:00 |
|
Daniel Nichter
|
4a84beee9f
|
Add --ask-pass to pt-agent.
|
2013-09-25 18:39:35 -07:00 |
|
Daniel Nichter
|
8bdfcd7838
|
Add 0-30s random delay to send_data().
|
2013-09-23 14:56:30 -07:00 |
|
Daniel Nichter
|
ec2343f379
|
Retry 403 in init_agent(), warning just once.
|
2013-09-23 12:06:05 -07:00 |
|
Daniel Nichter
|
f6f121ca82
|
Make init_agent() stop on 403 (too many agents).
|
2013-09-23 11:55:27 -07:00 |
|
Daniel Nichter
|
53d494ad0b
|
Fix service name in logger.
|
2013-09-19 15:09:25 -07:00 |
|
Daniel Nichter
|
25024149be
|
Make init_agent() tries required. Load service earlier in send_data() and run_service(). Fix init_agent.t.
|
2013-09-19 14:53:31 -07:00 |
|
Daniel Nichter
|
a5259a8c77
|
More changes to agent logging.
|
2013-09-19 13:46:20 -07:00 |
|
Daniel Nichter
|
82169b771c
|
More reduction of agent logging.
|
2013-09-19 13:25:20 -07:00 |
|
Daniel Nichter
|
841c39794c
|
Silence a few more log entries.
|
2013-09-19 12:42:32 -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
|
11d459b342
|
Don't warn inside get_api_client() run_service() doesn't have false-positive non-zero exit.
|
2013-09-18 21:36:12 -07:00 |
|
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 |
|