Commit Graph

4524 Commits

Author SHA1 Message Date
Daniel Nichter
a657f5bc3a Document DROP FOREIGN KEY constraint_name limitation. 2012-08-13 15:19:57 -06:00
Daniel Nichter
207aca7f03 Document REPLICA CHECKS and make --check-slave-lag clearer. 2012-08-13 14:01:32 -06:00
Brian Fraser fraserb@gmail.com
fdcbbb63fc Bug 942114: bad "find" usage in pt-stalk 2012-08-13 12:39:28 -03:00
Brian Fraser fraserb@gmail.com
7f9f84a6d0 shell tools: Quote the arguments to tr 2012-08-13 12:23:18 -03:00
Daniel Nichter
217a45df6f Conditionalize top 5 slowest test files, saving 25%/5m * 15 configs = 1hr. 2012-08-12 10:16:52 -06:00
Daniel Nichter
a9eabffab9 Fix and stablize pt-slave-delay tests. 2012-08-11 13:52:41 -06:00
Brian Fraser
c08c0c6a7a Fix for 1035311: pt-diskstats shows wrong device name 2012-08-10 15:36:34 -03:00
Daniel Nichter
cdc51df9e6 Fix HTTPMicro POST: attach content to request. Validate type. 2012-08-10 11:00:26 -06:00
Daniel Nichter
70c295bc0a Make Pingback::pingback() do all the work, return list of advices (suggestions). More Pingback tests. Rename --check-for-updates to --version-check and document. Make VersionCheck::parse_server_response() optionally not split vars, so the same proto can be used for server advice lines. 2012-08-09 16:44:47 -06:00
Brian Fraser
1370490fb6 Reduce the timeout to 5 seconds 2012-08-09 17:53:35 -03:00
Brian Fraser
5af53d2665 Add a prototype implementation of the pingback feature to ptc 2012-08-09 17:43:48 -03:00
Brian Fraser
c7060a99a7 Add ping_for_updates(), send the X-Percona-Toolkit-Tool header, and fix an error in pingback() 2012-08-09 17:38:39 -03:00
Brian Fraser
4a04837378 Updated t/lib/Pingback.t to use the new type names 2012-08-09 16:45:29 -03:00
Daniel Nichter
d8bb594059 Clean up Pingback.pm, make it encode the client response correctly, and abstract and rewrite the tests. 2012-08-09 12:47:30 -06:00
Brian Fraser
357fff7153 VersionCheck: Update to newest spec and add get_bin_version() 2012-08-09 15:33:42 -03:00
Daniel Nichter
9d023fc1cb Add AutoReq: no to config/rpm/percona-toolkit.spec so it doesn't mis-detect embedded modules. 2012-08-09 10:33:09 -06:00
Brian Fraser
5281e109e9 Updated Pingback.pm 2012-08-09 12:15:55 -03:00
Brian Fraser
437503d94b Merged VersionCheck 2012-08-09 11:31:55 -03:00
Brian Fraser
475af27724 Merged HTTP::Micro 2012-08-09 11:31:23 -03:00
Brian Fraser fraserb@gmail.com
9d33a8e2aa Removed ssl support 2012-08-09 11:14:51 -03:00
Daniel Nichter
a1633092d7 Fix test to handled borked Perl 5.8 version. 2012-08-08 15:30:24 -06:00
Daniel Nichter
ff7aebaa0e Coerce PERL_VERSION with %vd to fix 5.8. 2012-08-08 15:23:52 -06:00
Daniel Nichter
c755700068 Don't check sandbox if it's not up. 2012-08-08 14:12:24 -06:00
Daniel Nichter
7f0b962489 Fix Debian version parsing in get_os(). 2012-08-08 14:08:26 -06:00
Brian Fraser fraserb@gmail.com
49bf177b6a Magic tags and copyright 2012-08-08 16:54:20 -03:00
Brian Fraser fraserb@gmail.com
028fa7a047 Added HTTP::Micro.
This is an extremely stripped down HTTP::Tiny, i.e. not comformant
with HTTP/1.1. Basically only GET and POST should work, and
only for explicit content-lengths; chunking is not implemented.
2012-08-08 16:45:28 -03:00
Daniel Nichter
b4dce00639 Stringify Perl vars so $PERL_VERSION isn't an object. Diag the versions so I can see the real results. 2012-08-08 12:57:47 -06:00
Daniel Nichter
5b5c75ba3b Test get_os(). 2012-08-08 12:53:14 -06:00
Daniel Nichter
5abd7f2d97 Fix and clean up get_os(). 2012-08-08 12:38:37 -06:00
Daniel Nichter
07237162f7 First VersionCheck.pm prototype. 2012-08-08 11:36:49 -06:00
Brian Fraser fraserb@gmail.com
58647e8b42 Add lib/Pingback.pm and tests 2012-08-07 18:08:51 -03:00
Daniel Nichter
dbb4360aa7 Tweak sandbox/jenkins-test so args in TEST_CMD can have spaces. 2012-08-06 17:50:54 -06:00
Brian Fraser fraserb@gmail.com
d77a3a19f6 Fix for 1028710: floor() fails on floor(log(1000)/log(10)) 2012-08-06 11:37:51 -03:00
Daniel Nichter
f8c375a249 Build percona-toolkit-2.1.3 2.1.3 2012-08-03 19:41:41 +01:00
Daniel Nichter
4510cc4b28 Update Changelog for 2.1.3. 2012-08-03 11:36:46 -06:00
Daniel Nichter
53f3f2983f Merge hackish-fix-for-masterslave-obj-in-tests 2012-08-02 15:38:40 -06:00
Daniel Nichter
3822bb7977 Hack a fix for MasterSlave in tests that use it. 2012-08-02 15:34:39 -06:00
Brian Fraser
ab8d26df4b Merged fix-883098-extra-processlist-fields 2012-08-02 15:12:59 -03:00
Brian Fraser
ce0ec9d4bd Merged fix-doc-bugs-1016127-934310-937225-1016114 2012-08-02 15:10:45 -03:00
Daniel Nichter
c80123f485 Merge fix-953141-recursion-method-array 2012-08-02 12:01:34 -06:00
Daniel Nichter
980b0b4b8d Pass a placeholder for Quoter since it's not needed. 2012-08-02 11:44:09 -06:00
Daniel Nichter
7aa51a9f3a Create MasterSlave with required args. 2012-08-02 11:14:47 -06:00
Daniel Nichter
e6d31a666a Rewrite how MasterSlave handles --recursion-methods. 2012-08-02 10:57:36 -06:00
Brian Fraser
e29aa514e3 t/lib/MasterSlave.t: A call to ->recurse_to_slaves() still used a string instead of an arrayref 2012-08-02 12:38:09 -03:00
Brian Fraser
fdb81f763d Merged fix-1007938-mysqlconfig-eol-comments and fixed it to only take # as a start of comment, and to respect quoted values 2012-08-02 12:21:59 -03:00
Brian Fraser
94a5d85212 Fix for 1016131: ptc should skip tables when all its columns are excluded 2012-08-02 11:29:57 -03:00
Brian Fraser
1c6206bf9d Fix for 937225: OUTER JOIN advice in JOI.003 is confusing 2012-08-02 10:12:34 -03:00
Brian Fraser
bcf9eefc9f Fix for 1016114: pt-osc docs don't mention default values 2012-08-02 10:09:24 -03:00
Brian Fraser
6f77f4b49b Fix for 934310: pt-tcp-model --quantile docs wrong 2012-08-02 09:58:44 -03:00
Brian Fraser
53a7537d11 Updated modules for all tools 2012-08-02 09:54:25 -03:00