Commit Graph

1968 Commits

Author SHA1 Message Date
Brian Fraser
f3ad4c7d56 Fix for 886059: pt-heartbeat handles timezones inconsistently 2012-12-13 00:05:06 -03:00
Brian Fraser
3cab0e1b95 Added t/pt-deadlock-logger/samples/bug_1082104.txt & changed the username regex per Daniel's comments 2012-12-12 02:43:30 -03:00
Daniel Nichter
ea7fba8b8f Merge fix-change-master-bug-932614 2012-12-11 17:42:45 -07:00
Daniel Nichter
371f4a9e15 Update warning about using this tool in its docs. 2012-12-11 17:27:57 -07:00
Daniel Nichter
6c6ae95ea3 Use literal values instead of ? placeholders for CHANGE MASTER statement. 2012-12-11 17:23:06 -07:00
Daniel Nichter
37cbed29d9 Merge pt-osc-5.0-fix 2012-12-11 16:37:24 -07:00
Brian Fraser
9c63f61725 PXC+pt-heartbeat tests 2012-12-11 18:47:00 -03:00
Brian Fraser
a14e88e9aa pt-heartbeat: Retry the update/replace if there was a deadlock. This is somewhat common in a cluster node, since each node might have a heartbeat process modifying the table, which might clash with a monitoring instance 2012-12-11 18:46:24 -03:00
Brian Fraser
6d01f5085b start-sandbox: If starting a cluster node that isn't the first one in the cluster, change the first's wsrep_cluster_address. This stops /tmp/12345/stop; /tmp/12345/start from creating a second cluster -- instead, it rejoins the original 2012-12-11 18:43:45 -03:00
Daniel Nichter
b0ad60cdfa Document the new limitation: no LOCK IN SHARE MODE with MySQL 5.0. 2012-12-11 17:31:22 +00:00
Daniel Nichter
b41ae476ae Only use LOCK IN SHARE MODE with MySQL 5.1+. 2012-12-11 16:54:24 +00:00
Brian Fraser
5e619bf213 Merged fix-927955-898665-pod2rst-issues 2012-12-11 11:58:57 -03:00
Brian Fraser
557bffd19d Merged fix-1046440-pt-stalk-purge_samples 2012-12-11 11:55:34 -03:00
Brian Fraser
7f68789e61 Merged fix-1086259-pt-kill-log-dsn-wrong-timestamps 2012-12-11 11:51:01 -03:00
Brian Fraser
2d78170c7a Merged fix-1078887-DSNParser-set-vars-sql_mode-clobber 2012-12-11 11:48:44 -03:00
Brian Fraser
0681986dee Merged fix-1022622-ptcd-case-sensitivity 2012-12-11 11:45:29 -03:00
Daniel Nichter
2ff647df8f Merge fix-slowlog-ts-bug-1082599 2012-12-10 18:42:51 -07:00
Daniel Nichter
5aa853ad1f Fix test plan. 2012-12-10 18:38:45 -07:00
Daniel Nichter
2f1bb594f9 Update SlowLogParser in pqd and add test case. 2012-12-10 18:11:59 -07:00
Daniel Nichter
ec4be9a883 Add and fix test case for special 'no query' events. 2012-12-10 18:07:36 -07:00
Daniel Nichter
fd6eef65c8 Merge fix-genlog-db-bug 2012-12-10 16:41:11 -07:00
Brian Fraser
22f09f6368 pt-find.t: Create a second, old-style sakila db to do the trigger/function/proc tests 2012-12-07 19:46:51 -03:00
Brian Fraser
9f4ce57301 Add a missing .* to the backtracking explosion fix for 823431 2012-12-07 19:20:29 -03:00
Daniel Nichter
e82f062156 Fix root test in jenkins-test. 2012-12-07 14:55:52 -07:00
Daniel Nichter
d4a24a8afd Make jenkins-test not run as root. 2012-12-07 14:47:38 -07:00
Daniel Nichter
9ab8b33724 sudo su -- jenkins if running as root. 2012-12-07 14:18:06 -07:00
Daniel Nichter
fb3149b8be Set HOME=/home/jenkins if not defined and that dir exists. 2012-12-07 13:54:56 -07:00
Daniel Nichter
cfcfede0ef Add env to jenkins-test for debugging when needed. 2012-12-07 13:47:27 -07:00
Daniel Nichter
ea526799d3 Merge trunk r487. 2012-12-07 11:52:33 -07:00
Daniel Nichter
a2eaed50e4 Fix pqd/read_time.t so it doesn't access non-existent pid files. 2012-12-07 11:46:09 -07:00
Brian Fraser fraserb@gmail.com
255e17b618 Remove useless cruft from pod2rst-fixed 2012-12-06 15:03:54 -03:00
Brian Fraser fraserb@gmail.com
48442bd5a0 Merged fix-927955-898665-pod2rst-issues & add a function in write-user-docs to fix the html that comes from sphinx, to really fix 898665 2012-12-06 14:57:16 -03:00
Daniel Nichter
97e0529798 Rewrite t/pt-archiver/standard_options.t to make it reliable. 2012-12-06 10:02:24 -07:00
Brian Fraser fraserb@gmail.com
4eaf6e51f8 Merged experimental-fix-986847-pt-stalk-set-command 2012-12-05 21:15:20 -03:00
Brian Fraser fraserb@gmail.com
f8c7c7f2d4 Merged fix-1015590-pt-mysql-summary-percona-server-5.5 2012-12-05 21:10:22 -03:00
Brian Fraser fraserb@gmail.com
f2fdc7dd13 Merged fix-1007938-mysqlconfig-eol-comments 2012-12-05 20:43:40 -03:00
Brian Fraser fraserb@gmail.com
d24f054649 Merged fix-937234-pqa-wrong-res.001 2012-12-05 20:35:14 -03:00
Brian Fraser fraserb@gmail.com
2f7345f06b Merged fix-1050737-1075638-ptc-division-by-zero-nibble_time 2012-12-05 20:32:25 -03:00
Brian Fraser fraserb@gmail.com
d5d90dad00 Merged fix-911385-schemaiterator-resume-plus-ignore-db 2012-12-05 20:30:29 -03:00
Brian Fraser fraserb@gmail.com
fa27779126 Merged fix-823431-pqa-hangs-large-query 2012-12-05 20:27:30 -03:00
Daniel Nichter
4903cc034b Remove SET TIME_ZONE from sakila.sql so the literal data-times are used, not adjusted based on the system tz. 2012-12-05 15:05:41 -07:00
Daniel Nichter
2687857550 Fix pt-find.t by using new stored code that was removed from the new sakila.sql. 2012-12-05 14:45:56 -07:00
Daniel Nichter
dd333380f2 Ignore the new 5.6 mysql stats tables in SchemaIterator and update that module in all tools and updated affected samples. 2012-12-05 18:27:12 +00:00
Daniel Nichter
a672a1d98d Add QUERY_CACHE_SIZE to start-sandbox. Make t/pt-upgrade/warnings.t use 12349 instead of 12348, and start it with QUERY_CACHE_SIZE explicitly so MySQL 5.6.8 works. 2012-12-05 10:52:12 -07:00
Brian Fraser fraserb@gmail.com
3d263dd6ed Merged fix-1007938-mysqlconfig-eol-comments, resolved conflicts 2012-12-05 14:46:32 -03:00
Daniel Nichter
9fc08fd411 In pt-upgrade: remove query_cache_type=0 from --set-vars and add --[no]disable-query-cache and only disable it if it's already on to avoid the new MySQL 5.6.8 error. 2012-12-05 10:18:53 -07:00
Brian Fraser fraserb@gmail.com
b6c9748656 Merged pxc-pt-mysql-summary 2012-12-05 13:57:13 -03:00
Brian Fraser fraserb@gmail.com
c9146b3c04 Fix for 1046440: pt-stalk purge_samples slows down checks
Like the bug submitter noted, the fix was simply to make purge_samples
only come into effect if the collection has been triggered.

I added a second purge_samples after the collect loop, which should
maintain the previous behavior for the non-collect case, and purge
any leftover files that passed the threshold during a stalk that
never triggered collection.
2012-12-05 13:20:06 -03:00
Daniel Nichter
0b25accdf6 Merge trunk r478. 2012-12-04 16:54:50 -07:00
Daniel Nichter
510efda1b3 Update ExplainAnalyzer.t, QueryReportFormatter.t, and SchemaIterator.t for MySQL 5.6. 2012-12-04 23:47:20 +00:00