Commit Graph

800 Commits

Author SHA1 Message Date
Daniel Nichter
c726b8e624 Merge fix-pt-stalk-nfs-bug-1071979. 2013-12-10 20:50:17 -08:00
Daniel Nichter
1f93caf67c Add dsn opt to Cxn::connect() to change dsn. Update Cxn in pt-agent. 2013-12-04 16:14:17 -08:00
Daniel Nichter
c178934ab1 Combine '# Log_slow_rate_type: query Log_slow_rate_limit: 2' as 'query:2' and report as 'rate_limit' metric. 2013-11-27 18:25:55 -08:00
Daniel Nichter
28ec5b12bf Failing test. 2013-10-31 10:59:25 -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
c3ff530037 Add Query_time histogram to json output. 2013-08-16 18:21:57 -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
fe0e2f21c0 Add some more debug info for the deb6 failure. 2013-08-10 19:33:37 -07:00
Daniel Nichter
368dde58f1 Create log file too to help avoid race conditions because it's created only by the child. 2013-08-10 19:26:19 -07:00
Daniel Nichter
2b747d7ee3 Just run test 3 times. 2013-08-10 19:17:21 -07:00
Daniel Nichter
299a61417a Use get_cmd_pid() again to avoid race condition. 2013-08-10 19:09:31 -07:00
Daniel Nichter
3c45ce2eb3 Use get_cmd_pid() instead of slurping pid file because there's a race condition in pid file creation for which pid it contains (parent's or child's). 2013-08-10 19:02:32 -07:00
Daniel Nichter
5239779066 Add more debug info for 'Cannot find fd 0 symlink' failure. 2013-08-10 08:53:08 -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
5f2311e274 Fix t/lib/QueryReportFormatter.t 2013-08-08 20:27:51 +00:00
Daniel Nichter
9e4b54b834 Fix t/lib/VersionCheck.t. 2013-08-08 12:36:07 -07:00
Daniel Nichter
f62e395b38 Fix t/lib/Percona/Toolkit.t and t/lib/Percona/WebAPI/Client.t. 2013-08-08 12:34:29 -07:00
Daniel Nichter
a387fb35be Fix t/lib/Percona/Toolkit.t. 2013-08-08 10:57:12 -07: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
484274d8ba Fix get_tables() for LOAD DATA. 2013-08-03 12:11:56 -07:00
Daniel Nichter
8732b27e4e Make t/lib/samples/slowlogs/slow051.txt syntactically correct. 2013-08-03 11:55:27 -07:00
Daniel Nichter
1ed23c7845 Update modules in pt-query-digest to fix bug 821692 and bug 984053. Replace HTTPMicro with HTTP::Micro. 2013-08-03 11:50:15 -07:00
Daniel Nichter
e66415764d Strip backticks from LOAD DATA table name. 2013-08-03 11:44:41 -07:00
Daniel Nichter
cce1420736 Failing test cases for bug 821692 and bug 984053. 2013-08-03 10:50:17 -07:00
Daniel Nichter
51e476c6a2 Fix bug: a typo in NibbleIterator::_find_best_index(). 2013-07-10 10:23:28 -07:00
Daniel Nichter
89524dbefa Failing test case. 2013-07-10 10:16:07 -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
9b38740a54 Merge fix-1176010-pqd-grouping-quoted-vals. 2013-06-26 16:10:41 -07:00
Daniel Nichter
bddc889f97 Add failing test and samples for deep recursion. 2013-06-25 16:15:50 -07:00
Daniel Nichter
bcc6da2919 Failing test for --set-vars var=0. 2013-06-25 15:28:48 -07:00
Daniel Nichter
0736427bbf Megre pt-agent branch. 2013-06-16 23:23:11 -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
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
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
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
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
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
afa6533f43 Fix and test resource_diff(). 2013-03-27 11:12:38 -06:00
Daniel Nichter
9286765076 Merge 2.2.1 to get pqd without --output json. 2013-03-19 11:36:21 -06:00
Daniel Nichter
84ab975438 Fix query time diff formatting in pt-upgrade. 2013-03-14 09:20:54 -06:00
Brian Fraser
d3612481c2 Merged remove-ptqa 2013-03-13 16:55:22 -03:00
Brian Fraser
ea90c02b72 Fixed assorted test failures 2013-03-13 16:49:44 -03:00