Commit Graph

1083 Commits

Author SHA1 Message Date
Brian Fraser
6bf3a35a1a Merged use-lmo.
This commit renames our fork of Mo to Lmo, since the two have diverged
a huge deal. The merged branch streamlined Lmo a great deal as well,
for maintainability.
2013-02-11 21:19:56 -03:00
Daniel Nichter
5530e7ab17 Stripping down pt-upgrade; work in progress. 2013-02-09 14:20:38 -07:00
Daniel Nichter
50a82a4ef8 Merge 2.1.8 and 2.2. 2013-02-05 10:22:31 -07:00
Daniel Nichter
c9aa9e8cbd Merge 2.1.9 fixes for pt-pmp. 2013-02-05 09:51:24 -07:00
Daniel Nichter
4c519735f7 Merge 2.1.9 fixes. 2013-02-05 09:47:17 -07:00
Daniel Nichter
8dc976b96b Merge mysql-connect-errors-bug-1103045 (bug 1103045 and bug 823411). 2013-02-01 11:03:25 -07:00
Daniel Nichter
ea4dfa7605 Add Error_msg (but no Error_no) when client closes connection during handshake. 2013-02-01 10:58:27 -07:00
Daniel Nichter
572294540c Make 'Connect abort' errors just 'Connect' so all connect errors are lumped together. 2013-02-01 10:47:38 -07:00
Daniel Nichter
4840b9c3a8 Remove other instance of 'none' Error_no in MySQLProtocolParser.pm. 2013-02-01 10:41:36 -07:00
Daniel Nichter
cf74cd791e Only add Error_no to event if there is one. Don't stringify it either; set its type in pqd. 2013-02-01 10:26:45 -07:00
Brian Fraser fraserb@gmail.com
809164becd Change the Report modules to use Lmo 2013-02-01 14:06:13 -03:00
Brian Fraser fraserb@gmail.com
d816c6497e Merged Lmo and updated everything that used it 2013-02-01 13:29:48 -03:00
Daniel Nichter
3b64102f17 Normalize newlines on end of JSON text, to handle whatever is wrong with JSON on CentOS 6. 2013-01-31 17:48:25 -07:00
Brian Fraser
d2308be64c Merged VersionCheck into Pingback 2013-01-31 21:11:14 -03:00
Daniel Nichter
3f4a02e1fb Update pt-agent to implement new specs. 2013-01-31 17:00:38 -07:00
Brian Fraser
a814b0be64 Minor fix to get Mo::has(handles => qr/.*/) working again 2013-01-31 20:00:09 -03:00
Brian Fraser
5b9932ca28 Updated some files that still used the old ReportFormatter 2013-01-31 19:51:38 -03:00
Daniel Nichter
24e505a43d Simplify and test Percona::WebAPI::Client.pm according to new web API specs. 2013-01-31 12:58:09 -07:00
Brian Fraser
efc89a6725 Merged simplify-pqd 2013-01-31 14:52:34 -03:00
Brian Fraser
5fd8042e35 Updated JSONReportFormatter to drop the hard dependency on JSON.xs and use Transformers::encode_json if JSON is not available 2013-01-30 17:56:19 -03:00
Brian Fraser
98f490492c Change JSONReportFormatter to handle versions of JSON.pm that don't add a newline at the end of the encoded json 2013-01-30 17:47:41 -03:00
Daniel Nichter
82601d38e6 Merge simplify-pqd r549. 2013-01-30 13:33:47 -07:00
Brian Fraser
a9661d09eb Fix for bug 1099836: pt-online-schema-change fails with "Duplicate entry" on MariaDB 2013-01-30 12:33:42 -03:00
Daniel Nichter
9e7248861d Catch and report aborted connects. 2013-01-28 14:12:48 -07:00
Daniel Nichter
15b1c43874 Fix and test parser_error_packet() for non-SQL errors. 2013-01-25 11:24:35 -07:00
Daniel Nichter
26cc08d3d9 Fix default log level in log_warn_die.sh. 2013-01-24 11:39:23 -07:00
Daniel Nichter
b196f50e60 Test --verbose. Remove global default OPT_VERBOSE from log_warn_die.sh so tool's option can set it. 2013-01-24 11:13:39 -07:00
Daniel Nichter
11fa16382c Add --verbose to pt-stalk. Change _print() to ts() in log_warn_die.sh. 2013-01-24 09:36:57 -07:00
Daniel Nichter
98ced1a035 Make add info() log_warn_die.sh and make the subs respect OPT_VERBOSE. Add more test harness subs in util/test-bash-functions. 2013-01-24 09:17:19 -07:00
Brian Fraser fraserb@gmail.com
d1bdd4d80c Make pqd --output json have flags to enable sorted keys and prettyfied JSON 2013-01-24 12:00:48 -03:00
Brian Fraser fraserb@gmail.com
9dd124038b pqd: Merge --review-history into --review, added --review-table & --history-table 2013-01-21 12:40:46 -03:00
Daniel Nichter
47f09d427a Merge simplify-pqd r542. 2013-01-18 18:29:38 -07:00
Daniel Nichter
06ce6e012e Fix --resume. 2013-01-18 17:44:07 -07:00
Daniel Nichter
fcb5a0c0f8 Merge lp:~percona-toolkit-dev/percona-toolkit/simplify-pqd r541. 2013-01-18 16:21:10 -07:00
Brian Fraser fraserb@gmail.com
e466408c0d QueryReportFormatter: Resolve a hash ordering issue & fix an error introduced by the refactoring which was breaking two tests: checking if --report-histogram rather than --report-all 2013-01-18 09:47:05 -03:00
Daniel Nichter
f999686610 Fix Lmo::Types in pt-agent. Change Run->queries to query, Maybe[Str]. 2013-01-17 18:21:02 -07:00
Brian Fraser fraserb@gmail.com
41f440518f Fixed the precisions for numbers in the json output 2013-01-17 19:40:58 -03:00
Brian Fraser
1f7e1c12e2 lib/JSONReportFormatter.pm: Change the json output struct to the new spec 2013-01-16 16:46:40 -03:00
Brian Fraser fraserb@gmail.com
e8a8ebbcac Changed the JSON output 2013-01-16 07:59:19 -03:00
Brian Fraser fraserb@gmail.com
1e8e8a8398 Make Transformers work if called with use 2013-01-16 07:56:04 -03:00
Daniel Nichter
8f59c9f357 Change --check-spool to --send-data, and Run->schedule to Run->run_schedule. Add Run->spool_schedule and Run->queries. Remove Service->alias. 2013-01-14 15:02:07 -07:00
Brian Fraser fraserb@gmail.com
3c63750c9b Added JSONReportFormatter, a subclass of QueryReportFormatter that does what it says on the tin. WIP as it does not report profile or prepared statement data yet 2013-01-14 13:20:35 -03:00
Brian Fraser fraserb@gmail.com
5e5763f82a Partially Moified QueryReportFormatter, split event_report and query_report into two different subs; one that gets the values to print, and one that formats things 2013-01-14 12:52:23 -03:00
Brian Fraser fraserb@gmail.com
e5d17af0fe Mo'ified and minimally simplified ReportFormatter 2013-01-14 12:49:55 -03:00
Brian Fraser fraserb@gmail.com
cd32c04ed1 Mo: Added an override() export 2013-01-14 12:48:03 -03:00
Brian Fraser
8e36056359 pq: Remove --for-explain, make it always show the extra info 2013-01-11 15:37:55 -03:00
Brian Fraser
d0d8c59042 pqd: Remove --statistics, --pipeline-profile & --fingerprints, make them part of PTDEBUG 2013-01-11 14:52:42 -03:00
Brian Fraser
4fc66a08d3 pqd: Remove sparklines 2013-01-11 13:45:20 -03:00
Brian Fraser
5495945c7e EventAggregator: Remove apdex code 2013-01-11 13:24:02 -03:00
Brian Fraser
944b2039d3 pqd: Stop reporting apdex scores 2013-01-11 13:20:39 -03:00