Brian Fraser
|
59cd002335
|
Fix for 1156867: pt-stalk doesn't print the function name being used
|
2013-04-08 10:13:56 -03:00 |
|
Brian Fraser
|
1dcc6904f3
|
pqd: Restore the --show-all option
|
2013-04-08 09:53:52 -03:00 |
|
Daniel Nichter
|
6b91c5b06e
|
Fix/finish re-daemonizing. Make parent print a line about the running daemon before exiting (so user knows that pt-agent is running and "where"). Try to connect to MySQL once at first, but TODO: re-try to connect to MySQL later until successful.
|
2013-04-06 10:48:59 -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
|
62a30edcea
|
Make it so pt-agent can "re-daemonize" without restarting, i.e. change it's --log and --pid on the fly.
|
2013-04-05 20:03:43 -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
|
f8999689b5
|
Merge pt-heartbeat-utc-bug-1163372-2.2.
|
2013-04-04 17:24:43 -06:00 |
|
Daniel Nichter
|
ed757b6dcd
|
SET time_zone='+0:00' when --utc is used. Fix another test that was a false-positive, revealed by this fix. Rename bugs.t to utc.t because it only has --utc tests.
|
2013-04-04 17:18:01 -06:00 |
|
Daniel Nichter
|
6376556c20
|
Failing test.
|
2013-04-04 17:08:10 -06:00 |
|
Daniel Nichter
|
4422049dea
|
Merge hostname-bug-947893-2.2.
|
2013-04-04 15:45:50 -06:00 |
|
Daniel Nichter
|
7e8e04af42
|
Update Cxn in all tools.
|
2013-04-04 15:32:08 -06:00 |
|
Daniel Nichter
|
24758caa4c
|
Use /*!50038 @@hostname*/ in Cxn.pm.
|
2013-04-04 15:31:21 -06:00 |
|
Daniel Nichter
|
5c3dfcbd03
|
Merge version-in-all-bash-tools-bug-821502.
|
2013-04-04 15:11:03 -06:00 |
|
Daniel Nichter
|
c0828dcbd2
|
Add --version and --help to pt-sift.
|
2013-04-04 14:59:02 -06:00 |
|
Daniel Nichter
|
58a2ecbd6c
|
Add --version, --help, and other long opts with backards-compatible short opts to pt-pmp.
|
2013-04-04 10:16:07 -06:00 |
|
Daniel Nichter
|
bc77653f75
|
Add --help and --version to pt-align and pt-mext. Add --relative (-r) to pt-mext and re-enable its tests.
|
2013-04-03 17:42:10 -06:00 |
|
Brian Fraser
|
4abf15e963
|
Fix for 1127450: pt-archiver wide character
|
2013-04-02 06:59:58 -03:00 |
|
Brian Fraser
|
e2612a08aa
|
Fix for 1099845: pt-table-checksum pxc same_node function incorrectly uses wsrep_sst_receive_address
|
2013-04-02 05:37:38 -03:00 |
|
Daniel Nichter
|
afa6533f43
|
Fix and test resource_diff().
|
2013-03-27 11:12:38 -06:00 |
|
Daniel Nichter
|
13e9b5d7c7
|
Fix typo checking spool data file size.
|
2013-03-26 14:41:16 -06:00 |
|
Daniel Nichter
|
b17f45d3cd
|
Fix spool file. Actually write run and send PID files.
|
2013-03-26 14:36:58 -06:00 |
|
Daniel Nichter
|
58ea0f1886
|
Fix 'Modification of a read-only value attempted at /home/ptagent/pt-agent/bin/pt-agent line 5691'.
|
2013-03-26 14:26:40 -06:00 |
|
Daniel Nichter
|
b9a82c21b9
|
Always init lib dir when applying first config.
|
2013-03-26 14:20:45 -06:00 |
|
Daniel Nichter
|
ba2b26a9c7
|
Init spool dir when confnig is applied. Use lib/logs and lib/pids for run and send logs and pids. Spool data to tmp dir first then mv to spool.
|
2013-03-26 14:10:01 -06:00 |
|
Daniel Nichter
|
6b89da736b
|
Fix minor typo.
|
2013-03-26 10:29:05 -06:00 |
|
Daniel Nichter
|
ba7d55910b
|
Check silently for first config every 60s. Check --lib dir earlier, but this is a TODO still. Replace __LIB__ and __SERVICE__ in tasks.
|
2013-03-26 10:20:13 -06:00 |
|
Daniel Nichter
|
cbc67774b3
|
Log --run-service and --send-data. Spool to separate files with .TS suffixes. Use /tmp until --lib is valid. Daemonize early. Replace __TS_MICRO__ in task options.
|
2013-03-26 09:08:37 -06:00 |
|
Daniel Nichter
|
6e1e70477e
|
Fix 'Undefined subroutine &pt_agent::get'.
|
2013-03-26 08:15:04 -06:00 |
|
Daniel Nichter
|
10a3dbdcf1
|
Fix get_api_client() so it doesn't loop out of controll if PWS doesn't return valid entry links.
|
2013-03-25 15:58:46 -06:00 |
|
Daniel Nichter
|
bf1cee02cf
|
Re-enable tmpdir auto cleanup.
|
2013-03-25 14:54:17 -06:00 |
|
Daniel Nichter
|
bdc3487919
|
Add and test start_services() for Service.run_once_on_start.
|
2013-03-25 14:27:53 -06:00 |
|
Daniel Nichter
|
79c36ca77c
|
Merge some doc changes.
|
2013-03-25 09:41:10 -06:00 |
|
Hrvoje Matijakovic
|
696374c171
|
* adjusted the sphinx make file to fetch the theme files from the web
to avoid manual updating the code when building the html docs
|
2013-03-25 16:32:26 +01:00 |
|
Daniel Nichter
|
2eff2692fe
|
Fix detecting new lib dir. Fix removing service files.
|
2013-03-22 17:07:02 -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
|
f04d0e575a
|
Write pt-agent docs.
|
2013-03-21 11:49:29 -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
|
24cabaa46a
|
Hot-fix --version-check.
2.2.1
|
2013-03-20 11:53:36 -06:00 |
|
Brian Fraser
|
d9a4b772af
|
Removed a leftover warn in write-user-docs
|
2013-03-20 14:12:25 -03:00 |
|
Brian Fraser
|
7c2ec67f13
|
Fixed a typo in write-user-docs
|
2013-03-20 14:11:13 -03:00 |
|
Brian Fraser
|
5c30f5517e
|
Fixes for the online docs
|
2013-03-20 13:14:37 -03:00 |
|
Daniel Nichter
|
c0b59501f0
|
Update config/sphinx-build/percona-theme.
|
2013-03-20 08:06:40 -06:00 |
|
Daniel Nichter
|
019651b5c1
|
Merge release-2.2.1
|
2013-03-20 08:01:47 -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
|
5a65305a47
|
Update pt-agent to run tasks not runs.
|
2013-03-19 15:37:55 -06:00 |
|
Daniel Nichter
|
9afa462cc2
|
Fix/update t/pt-agent/run_agent.t.
|
2013-03-19 14:56:53 -06:00 |
|
Daniel Nichter
|
70c28272a7
|
Fix/update t/pt-agent/init_agent.t.
|
2013-03-19 14:44:02 -06:00 |
|