Commit Graph

981 Commits

Author SHA1 Message Date
Daniel Nichter
dad38169bf Remove ndb_binlog_index from auto-skipped sys tables in SchemaIterator because it wasn't previously skipped in 5.1 and 5.5. 2012-12-20 23:05:06 +00:00
Daniel Nichter
ca5b2ecfea Merge 2.1 r514, just a doc change. 2012-12-20 11:17:14 -07:00
Daniel Nichter
3e9eee0619 Document new pt-log-player limitation re auto val on zero re bug 1078887. 2012-12-20 10:52:09 -07:00
Brian Fraser
bae4ce1ce9 pt-fk-error-logger: Deal with 5.6 InnoDB timestamps 2012-12-20 13:55:12 -03:00
Brian Fraser
7539c3a8fb pt-deadlock-logger: use a character class instead of \p{Hex} 2012-12-20 13:54:36 -03:00
Brian Fraser
3ebf56db1f pt-deadlock-logger: InnoDB timestamps have a different format in 5.6 2012-12-19 13:48:24 -03:00
Brian Fraser
42484ecd10 Merged mysql-5.6-test-fixes and resolved conflicts 2012-12-19 13:47:54 -03:00
Brian Fraser
c88258bbf4 Merged fix-1082104-pt-deadlock-logger-username-dash 2012-12-13 22:47:50 -03:00
Brian Fraser
98e63a504e Merged fix-886059-pt-heartbeat-timezones 2012-12-13 22:38:40 -03:00
Brian Fraser
0ebe4ce6ce Merged pxc-pt-heartbeat 2012-12-13 22:24:03 -03:00
Daniel Nichter
81962de9e9 Tweak Percona XtraDB Cluster docs a little. 2012-12-13 17:40:46 -07:00
Brian Fraser
1a3505726b PXC section in pt-heartbeat 2012-12-13 21:09:33 -03:00
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
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
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
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
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
2f1bb594f9 Update SlowLogParser in pqd and add test case. 2012-12-10 18:11:59 -07:00
Daniel Nichter
fd6eef65c8 Merge fix-genlog-db-bug 2012-12-10 16:41:11 -07:00
Brian Fraser
9f4ce57301 Add a missing .* to the backtracking explosion fix for 823431 2012-12-07 19:20:29 -03:00
Daniel Nichter
ea526799d3 Merge trunk r487. 2012-12-07 11:52:33 -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
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
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
0ad52d0003 Update DSNParser in pt-table-usage and pt-visual-explain to avoid https://refute.testnoir.com/percona-toolkit/jobs/percona-toolkit-mysql-5.6/2/results/errors#18960 because Sandbox sets {L} but new DSNParser is needed to check for and delete it. 2012-12-04 15:42:14 -07:00
Brian Fraser
2bc72fc139 Fix for 1086259: pt-kill in non-daemon mode logs timestamps incorrectly 2012-12-04 18:05:32 -03:00
Brian Fraser
d2f1742606 Merged fix-917770-pt-config-diff-uninit-value-crash 2012-12-04 13:43:40 -03:00
Brian Fraser
e0c8fac54e Merged doc-patch-empty-replicate-table-1074179 2012-12-04 13:42:22 -03:00
Brian Fraser
a5d1021367 Rename "Cluster" to "Cluster Name" and "Node" to "Node Name" 2012-12-04 13:26:34 -03:00
Brian Fraser
15855fb076 Change feat_on_renamed() per Daniel's feedback 2012-12-04 13:17:58 -03:00
Brian Fraser
a7a0da3bc9 Refactor _parse_varvals.
Now it takes two arguments: A regexp and a string to match against.
_parse_varvals itself was split in three:  _preprocess_varvals,
_parse_varvals, and _process_val.

This also modifies the three places that call _parse_varvals; For
two, no real changes were needed, but parse_mysqld() required a fix
to deal with the two final lines of mysqld --help --verbose:

   To see what values a running MySQL server is using, type
   'mysqladmin variables' instead of 'mysqld --verbose --help'.
2012-12-04 05:02:56 -03:00
Brian Fraser
ee607b1f25 Change the ordering in the PXC section 2012-12-04 00:39:34 -03:00
Daniel Nichter
c094494f1f Fix CMD_MYSQL and CMD_MYSQLDUMP in pt-mysql-summary so they can be specified on cmd line, then do so in pt-mysql-summary.t so mysqldump 5.6 is used with 5.6 because earlier versions don't work with MySQL 5.6. 2012-12-04 01:31:52 +00:00
Daniel Nichter
e7c3e908bb Create percona_test.sentinel in start-sandbox so wait_for_slave() works for other sandboxes. skip_all for skip_innodb.t with 5.6 because of http://bugs.mysql.com/67798. 2012-12-04 00:14:20 +00:00