Daniel Nichter
|
b54b4adb92
|
Use defaults-file in test config file to simulate user's setup.
|
2013-08-12 14:33:51 -07:00 |
|
Daniel Nichter
|
9d4f23fe53
|
Move --log-dsn tests from kill.t to log_dsn.t. Pass actual dsn, not retval of get_cxn_params() to Cxn. Add Sandbox::get_cnf().
|
2013-08-12 14:19:57 -07:00 |
|
Daniel Nichter
|
c596331280
|
Move --log-dsn vars to outter scope to fix the rare Perl 5.8 scope-closure bug.
|
2013-08-12 09:11:53 -07:00 |
|
Daniel Nichter
|
35f83428b1
|
Update pqd test samples.
|
2013-06-16 23:40:08 -07:00 |
|
Daniel Nichter
|
0736427bbf
|
Megre pt-agent branch.
|
2013-06-16 23:23:11 -07:00 |
|
Daniel Nichter
|
321eee1f67
|
Finish updating/fixing tests.
|
2013-06-16 21:01:30 -07:00 |
|
Daniel Nichter
|
09eb28cca8
|
Update send_data.t samples.
|
2013-06-16 20:18:33 -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
|
490d95dee7
|
Simplify and maybe fix crash in replace_special_vars().
|
2013-06-14 21:22:55 -07:00 |
|
Daniel Nichter
|
df0eb984d7
|
Don't drop new table if there are any @triggers_not_dropped.
|
2013-06-07 13:51:29 -07:00 |
|
Daniel Nichter
|
c99cb3ba58
|
Add copy_paste attrib to each query's hash in the JSON output with SHOW TABLE STATUS, SHOW CREATE TABLE, and non-SELECT converted to SELECT for EXPLAIN. Fix typo: EA type is 'string' not 'str'. Add host, port, and ip type hints to pqd.
|
2013-05-20 16:44:44 -07:00 |
|
Daniel Nichter
|
41a4634edb
|
Update JSONReportFormatter: report all str attribs; don't print "# No events processed" since that's not valid JSON; rename output.t to json.t.
|
2013-05-20 14:47:01 -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
|
e8eca8dde1
|
Merge lp:~percona-toolkit-dev/percona-toolkit/pqd-enhanced-resume-file r582.
|
2013-05-07 20:19:37 -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 |
|
Brian Fraser
|
e3dae6cc50
|
bulk_insert.t: Stop using Encode::_utf8_on(), use utf8::decode() instead
|
2013-04-19 20:45:19 -03:00 |
|
Brian Fraser
|
22fab42e01
|
Fix for 1127450 in DBD::mysql 3.0007
|
2013-04-19 19:13:55 -03:00 |
|
Daniel Nichter
|
89db22894e
|
Test get_services(). Need to fix/update other tests.
|
2013-04-19 14:49:01 -06:00 |
|
Daniel Nichter
|
c7c79945f9
|
Change start_services() to run_services() and make it do triple duty: start, restart, and stop. When a real service is removed, call its stop- meta-service before write_services(). Add run_services_once() for services with the run_once flag.
|
2013-04-18 18:41:05 -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 |
|
Brian Fraser
|
53dc083e82
|
Merged fix-1156867-pt-stalk-show-function-name
|
2013-04-17 15:12:22 -03:00 |
|
Brian Fraser
|
aa263dcc5b
|
Merged fix-1127450-pt-archiver-bulk-insert-encoding
|
2013-04-16 17:51:00 -03:00 |
|
Brian Fraser
|
c167e590d4
|
Merged fix-1156901-skip-retry-check-for-repl-threads
|
2013-04-16 17:49:25 -03:00 |
|
Brian Fraser
|
ae8487311c
|
Merged fix-1160918-restore-show-all
|
2013-04-16 17:48:05 -03:00 |
|
Brian Fraser
|
ecbe7311b3
|
Merged fix-1160338-pqd-tcp-errors
|
2013-04-16 17:41:38 -03:00 |
|
Brian Fraser
|
ce3e868fa6
|
Fix for 1160338: pt-query-digest 2.2 prints unwanted debug info on tcpdump parsing errors
|
2013-04-16 12:20:34 -03:00 |
|
Brian Fraser
|
d8a3d217ef
|
Minor tweaks to the tests
|
2013-04-16 11:46:14 -03:00 |
|
Brian Fraser
|
c80c5c38a8
|
Processlist.pm: Skip checking for a restarted query if looking at a replication thread
|
2013-04-16 11:37:32 -03:00 |
|
Daniel Nichter
|
03f8720871
|
Fix/update init_agent.t and replace_special_vars.t.
|
2013-04-13 11:55:53 -06:00 |
|
Daniel Nichter
|
a32a583e05
|
Fix and test error on startup if config file is missing. Refactor run_agent(): move Agent setup stuff into start_agent(). Move related subs next to each other.
|
2013-04-13 11:27:45 -06:00 |
|
Daniel Nichter
|
2d89fe6163
|
Update/fix run_agent.t. Set action and link in run_agent() when given test agent. Fix apply_config(): don't die if config file doesn't exist. Expect Config.lib to be set. Fix run_service(): run run_once services without meta or syncing time interval.
|
2013-04-13 10:24:52 -06:00 |
|
Brian Fraser
|
7d5da6e6f5
|
Rebased the branch to trunk
|
2013-04-12 12:58:10 -03:00 |
|
Brian Fraser
|
db0a29561c
|
Fixes per Daniel's review
|
2013-04-09 10:21:15 -03:00 |
|
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
|
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
|
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
|
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 |
|
Daniel Nichter
|
afa6533f43
|
Fix and test resource_diff().
|
2013-03-27 11:12:38 -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
|
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
|
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 |
|