Commit Graph

1113 Commits

Author SHA1 Message Date
Daniel Nichter
ac378ca60d Merge pt-show-grant-ask-pass-print-Enter-password-in-stdout-1290911. 2014-05-27 18:15:25 -07:00
Frank Cizmich
f4da4b12e7 correctly digest queries with true false literals - issue 965553 2014-05-24 19:53:23 -03:00
Frank Cizmich
eeedabfc14 OptionParser nnow prints password prompt to STDERR - issue 1290911 2014-05-24 18:36:33 -03:00
Daniel Nichter
a67624820e Remove pt-agent. 2014-04-25 21:29:08 -07:00
Frank Cizmich
73fb9b504c fixed --ignore-tables in SchemaIterator.pm - bug 1304062 2014-04-15 18:17:02 -03:00
Daniel Nichter
99587e7fce Set Percona::Toolkit::VERSION = 2.2.7. 2014-02-19 19:47:43 -08:00
Daniel Nichter
94c806a33f Remove version check bin type. Update all tools. 2014-02-19 19:00:02 -08:00
Daniel Nichter
3713202ba9 Update Percona::Toolkit::VERSION. 2013-12-18 23:27:48 +00:00
Daniel Nichter
2a1654c47b Merge pt-stalk-sleep-collect-option. 2013-12-13 20:31:53 -08:00
Daniel Nichter
69586fdf50 Revert r587: *do* sync on clock ticks. Fix pt-stalk.t (127.1 no longer works?). Enhance --sleep-collect docs. 2013-12-13 20:19:51 -08:00
Daniel Nichter
5ff62d6956 Fix tests. 2013-12-12 05:49:59 +00:00
Daniel Nichter
591e5e00f3 Add back blank lines around Schema section contents. Use default vals for OPT_DATABASE, OPT_ALL_DATABASES, and OPT_READ_SAMPLE in report_mysql_info.sh to avoid errors in unit tests. 2013-12-12 05:02:34 +00:00
Daniel Nichter
826685e636 Remove blank lines around Schema section contents. 2013-12-11 20:49:19 -08:00
Daniel Nichter
b7320fc9ee Remove mysqldump prompt, add --all-databases, and make --databases or --all-databases required to do mysqldump (Schema section). 2013-12-11 20:40:57 -08:00
Daniel Nichter
e83e1c09c4 Fix bug 1217013: exact dupe unique keys not detected. 2013-12-11 19:31:19 -08:00
Daniel Nichter
d48d77269d Fix KeySize to handle key=<key> but key_len=0. Add failing pt-dupe-key-checker test. 2013-12-11 16:51:19 -08:00
Daniel Nichter
c726b8e624 Merge fix-pt-stalk-nfs-bug-1071979. 2013-12-10 20:50:17 -08:00
Daniel Nichter
85ac9cbc5a Reconnect to MySQL with latest DSN each interval if configured. Re-get MySQL version if connection fails. Reduce first config wait from 60s to 20s. Report JSON, LWP, IO::Socket::SSL, and DBD::mysql versions. Fix Percona::Agent::Logger::debug(). 2013-12-10 19:07:36 -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
567c1f11e6 Add rate_limit to JSON output. 2013-11-27 18:42:20 -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
1732e7712a Print OptionParser debug to STDERR. 2013-11-07 17:47:10 -08:00
Daniel Nichter
a2f71b41f8 Fix check_disk_space(). 2013-10-31 11:20:46 -07:00
Alexey Bychko
595f4ad1f9 Build percona-toolkit-2.2.5 2nd 2013-10-22 12:56:20 +07:00
Daniel Nichter
166173a318 Don't quote FLOAT or DOUBLE in Quoter::quote_val(). 2013-10-10 15:58:02 -07:00
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