Commit Graph

934 Commits

Author SHA1 Message Date
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
57c234c89d Add Query_time to pqd JSON class example. 2013-10-09 17:54:25 -07:00
Daniel Nichter
b0cacd15f4 Improve MasterSlave::check_recursion_method() tests. 2013-10-02 11:15:58 -07:00
Daniel Nichter
b1bdf96927 Keep GLOBAL in distill of SHOW GLOBAL STATUS|VARIABLES. 2013-09-26 19:16:19 -07:00
Daniel Nichter
82169b771c More reduction of agent logging. 2013-09-19 13:25:20 -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
9b47d94c87 Handle pong. 2013-09-18 21:05:48 -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
c3ff530037 Add Query_time histogram to json output. 2013-08-16 18:21:57 -07:00
Daniel Nichter
4fcb52f678 Merge fix-pt-kill-daemon-bug (bug 1209436). 2013-08-13 17:36:01 -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
4f60e0721a Merge latest. 2013-08-10 19:48:36 -07:00
Daniel Nichter
b966a0f4a3 Use ps xww because w isn't wide enough on deb with long jenkins paths. 2013-08-10 19:38:34 -07:00
Daniel Nichter
8ec7ccdbe7 Stabilize t/lib/Daemon.t. Add PerconaTest::get_cmd_pid(). 2013-08-10 08:27:09 -07:00
Daniel Nichter
a6dc5a91ec Read opts file in perl instead of 'cat file | perl' to avoid occasional 'cat: write error: Broken pipe'. 2013-08-09 21:21:55 +00:00
Daniel Nichter
02b5042b9b Fix VariableAdvisorRules: test didn't pass mysql_version and rule didn't check if it's defined. 2013-08-08 08:35:19 -07:00
Daniel Nichter
ef4a56a8fe Test and fix OptionParser so string opts don't consume the next opt if not string value is given. 2013-08-07 19:02:11 -07:00
Daniel Nichter
9059853136 Handle IF [NOT] EXITS for ddl statements in distill. 2013-08-03 14:01:25 -07:00
Daniel Nichter
2a9798eb47 Fix version check in pqd by calling HTTP::Micro, not old HTTPMicro. 2013-08-03 12:43:19 -07:00
Daniel Nichter
484274d8ba Fix get_tables() for LOAD DATA. 2013-08-03 12:11:56 -07:00
Daniel Nichter
cc21608be4 Fix HTTP::Micro footer. 2013-08-03 11:50:52 -07:00
Daniel Nichter
e66415764d Strip backticks from LOAD DATA table name. 2013-08-03 11:44:41 -07:00
Daniel Nichter
a742090177 Fix QueryParser and QueryRewriter to handle LOAD DATA and INSERT/REPLACE without INTO. 2013-08-03 11:19:40 -07:00
Daniel Nichter
b48d835006 Update Percona::Toolkit::VERSION in module and all tools. 2013-07-17 12:41:00 -07:00
Daniel Nichter
51e476c6a2 Fix bug: a typo in NibbleIterator::_find_best_index(). 2013-07-10 10:23:28 -07:00
Daniel Nichter
b14a478f3c Test --output json-anon. 2013-07-01 13:59:12 -07:00
Daniel Nichter
16e57a8fea Add --output json-anon that excludes query examples. 2013-07-01 13:38:34 -07:00
Daniel Nichter
67afd604b5 Fix innodb_max_dirty_pages_pct advice. 2013-06-27 14:45:56 -07:00
Daniel Nichter
db9d149959 Do the same fix in strip_comments(). 2013-06-27 11:54:53 -07:00
Daniel Nichter
dfcfdd292a Test case and fix: remove multi-line comments before -- one line comments. 2013-06-27 11:53:06 -07:00
Daniel Nichter
e5d9da5cff Fix SchemaIterator by replacing recursion with double nested while loops. 2013-06-25 16:25:58 -07:00
Daniel Nichter
591a49557c Fix OptionParser: check that val is defined, not true. 2013-06-25 15:31:39 -07:00
Daniel Nichter
0736427bbf Megre pt-agent branch. 2013-06-16 23:23:11 -07:00
Daniel Nichter
dc8fb90173 Fix it again, again. 2013-06-16 23:12:09 -07:00
Daniel Nichter
4f3fa288b1 Fix it again--the pitfalls of working so long and late. 2013-06-16 23:06:06 -07:00
Daniel Nichter
c2af32cd0f Fix Logger error spamming. 2013-06-16 22:59:43 -07:00
Daniel Nichter
61bf5c5e24 Change the error spam threshold from 100 to 10. 2013-06-16 22:54:07 -07:00
Daniel Nichter
9215fd5a02 Add 2 safeguards to Agent::Logger to avoid excessive memory usage and error spamming. 2013-06-16 22:37:42 -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
58736c7b0e Set v2.2 instead of 3.0. 2013-06-16 15:19:42 -07:00
Daniel Nichter
e825b233f5 Call JSON::decode() explicitly. 2013-06-15 13:00:15 -07:00
Daniel Nichter
7950b0d7cd Do require not eval for delayed loading. 2013-06-15 12:31:38 -07:00
Daniel Nichter
5be7c252b8 Delay loading required non-core modules and let pt-agent check for them manually. 2013-06-15 12:23:04 -07:00
Daniel Nichter
1496dd0aa5 Remove Rows_affected for SELECT|SHOW|SET|ADMIN in JSONReportFormatter. 2013-06-15 11:04:25 -07:00
Daniel Nichter
7d2d3bfbfc Update the docs. 2013-06-14 20:52:54 -07:00
Daniel Nichter
1c29d6adb3 Make Agent.versions rw. 2013-06-14 19:59:14 -07:00
Daniel Nichter
31157e368f Get MySQL version if needed. Remove Agent.actions. 2013-06-14 19:54:30 -07:00
Daniel Nichter
a26792e2fd New --install output: quieter, more consistent. 2013-06-14 13:49:58 -07:00