Commit Graph

2217 Commits

Author SHA1 Message Date
Carlos Salguero d2c4f57a52 PT-1572 Updated tests 2018-07-28 16:08:27 -03:00
Carlos Salguero ea4886ad9d PT-1572 WIP 2018-07-27 22:16:02 -03:00
Carlos Salguero a584680406 Updated fix for PT-242 2018-07-06 09:39:15 -03:00
Carlos Salguero e4263ae173 Merge branch 'release-3.0.11' of percona.github.com:percona/percona-toolkit into release-3.0.11 2018-07-05 11:06:03 -03:00
Carlos Salguero 9b20208a78 Re-merged PT-242 2018-07-05 11:04:44 -03:00
Evgeniy Patlan f0981642e5 Build percona-toolkit-3.0.11 2018-07-03 12:57:01 +00:00
Carlos Salguero d58d9e9fc4 Updated version to 3.0.11 (pre-release) 2018-06-25 12:34:35 -03:00
Carlos Salguero 1b802d56df Merge branch '3.0' into PT-1554-more-MySQL8-tests 2018-06-22 14:56:39 -03:00
Carlos Salguero d9142df0f6 PT-1551 New wait for master method to pt-table-checksum
This is part of PT-1554. While I was testing pt-table-checksum
ignore_columns.t was failing and it was because the original method in
pt-table-checksum to wait for the slaves to catch up, wasn't enough.
I added a new method who calls MySQL's SELECT MASTER_POS_WAIT from the
MasterSlave package.
2018-06-22 13:00:41 -03:00
Carlos Salguero 2bb073e218 Updated TableParser in all programs 2018-06-15 00:00:42 -03:00
Carlos Salguero a90e5a78a0 PT-1554 Improved MySQL 8 support on pt-osc 2018-06-15 00:00:04 -03:00
Carlos Salguero 5a47bac4d4 PT-1554 Fixed tests for duplicate key checker 2018-06-14 10:45:36 -03:00
Carlos Salguero f5fd795fda PT-1559 pt-osc --alter-foreign-keys-method=drop_swap doesn't work with MySQL 8.0+ 2018-06-13 16:46:40 -03:00
Carlos Salguero f95d448e03 PT-1554 Updated pt-query-digest to use a proper checksum
Now, the checksum field is a CHAR(32) instead of a BIGINT.

Previously it was failing on some MySQL versions since the truncated int
it was storing is not consistent. Now, by having an MD5 stored as a
CHAR(32) the checksum is consistent across MySQL and OS versions.

This is a breaking change and pt-query-digest history and review tables
are not backwards compatible.
2018-06-13 11:25:47 -03:00
Carlos Salguero 0004bb7bbc PT-1554 (WIP) Tests for MySQL 8
There are tests failing but the sandbox doesn't crash
2018-05-30 21:25:28 -03:00
Carlos Salguero 7666af3fbb PT-1563 Fixed pt-show-grants for MySQL 5.6
Also updated tests for MySQL 8.0+
2018-05-28 15:29:18 -03:00
Carlos Salguero eb689ef253 Merge pull request #338 from percona/PT-1554-ps-5.7
PT-1554 Fixed tests for Percona Server 5.7
2018-05-28 12:48:31 -03:00
Kamil Dziedzic f5ed3d987c PMM-2569: Fix passing CMD_MYSQL and CMD_MYSQLDUMP. 2018-05-28 14:10:04 +02:00
Carlos Salguero cb5e0077fd PT-1554 Trying to debug to find why t/pt-table-checksum/pt-136.t fails on docker 2018-05-26 21:58:28 -03:00
Carlos Salguero 0be68be892 PT-1554 Test a fix for pt-136 & ps 5.7 2018-05-26 17:36:06 -03:00
Carlos Salguero b9b152a395 PT-1554 Tests for ps 5.7 2018-05-26 15:07:38 -03:00
Carlos Salguero e2cf183762 PT-1554 Updated pt-table-checksum var type
In different OSes, using BIGINT to store the checksum for a query, will
produce collisions and/or unstable values.
Because of this, I changed the type for the checksum field in the history
table from BIGINT to CHAR(32) and the checksum function is no longer
truncating the MD5_HEX result to 16 chars.
2018-05-24 15:57:21 -03:00
Carlos Salguero b6040629cd PT-1554 Test a fix for query-digest checksums 2018-05-24 15:50:22 -03:00
Carlos Salguero 285588546d PT-1554 Test a fix for query-digest checksums 2018-05-24 15:46:46 -03:00
Carlos Salguero 2493c2485f PT-1554 Fix query digest history checksum 2018-05-24 15:02:12 -03:00
Carlos Salguero b1663d0f20 PT-1554 Tests query digest history 2018-05-24 14:21:35 -03:00
Carlos Salguero 09cd07f58e PT-1554 Make QueryFormater consistent
In some OSes/Perl versions, the 'filtered' row is being printed with or
without decimals.
For example, in Ubuntu 16.04/Perl 5.22 it is 100.00 while in Ubuntu
18.04/Perl 5.26 it is 100.
To make it consistent for tests, add a default formating string for the
filtered row.
2018-05-23 15:28:28 -03:00
Carlos Salguero f0c947d9cf PT-1554 Test fixes for pt-archiver 2018-05-23 10:59:50 -03:00
Evgeniy Patlan a4db86e026 Build percona-toolkit-3.0.10 2018-05-21 17:38:57 +00:00
Carlos Salguero d3ca1c2b09 Merge branch '3.0' into release-3.0.10 2018-05-19 00:04:35 -03:00
Carlos Salguero 56460788d5 PT-1554 Testing a fix for slave_find failing test 2018-05-18 22:11:00 -03:00
Carlos Salguero 0f2faa355b RM-358 Release branch for 3.0.10
Updated Changelog & Toolkit version
2018-05-18 14:42:20 -03:00
Carlos Salguero e41b68c979 Merge branch '3.0' into PT-1536 2018-05-18 14:30:03 -03:00
Carlos Salguero 50ad844666 Merge pull request #327 from percona/PT-131-a
PT-131 Disable QRT plugin in pt-table-checksum
2018-05-18 14:27:59 -03:00
Carlos Salguero 68d97edbed Merge pull request #329 from percona/PT-118
PT-118 Modify pt-checksum such that it can report the number of rows of difference between master and slave
2018-05-18 14:27:20 -03:00
Carlos Salguero 966a1e8c87 Merge pull request #326 from percona/PT-1546
PT-1546 Improved MySQL 8 roles support
2018-05-18 14:26:51 -03:00
Carlos Salguero 81efd315e2 PT-1556 binlog_format should be STATEMENT on master
On the master, binlog_format should be always STATEMENT on master

Resolves: #PT-1527
2018-05-18 12:42:51 -03:00
Carlos Salguero e26b567218 PT-1554 Improved jemalloc detection 2018-05-17 14:35:52 -03:00
Carlos Salguero b47bf6bf67 PT-1554 Updated DSNs for mysql_random_data_load 2018-05-16 16:31:11 -03:00
Carlos Salguero b6526f6739 PT-1536 Updated samples for mysql-summary tests 2018-05-11 11:58:47 -03:00
Carlos Salguero 1a5fda2ee8 Merge branch '3.0' into PT-118 2018-05-07 10:40:58 -03:00
Carlos Salguero df5f4aa439 PT-131 Fixed a regression
Fixed an error due to merging an old implementation
2018-04-27 15:41:28 -03:00
Carlos Salguero 0ade173d0f PT-131 Disable QRT plugin in pt-table-checksum
The use of QRT plugin to monitor the health of production worloads cause the QRT data
to show massive spikes in latency, even thought the workload is relatively unaffected.

Tags: pt-table-checksum
See also: PS-235
2018-04-27 15:37:00 -03:00
Carlos Salguero c2815ec312 PT-1546 Improved MySQL 8 roles support
This fix adds these improvements:
- Only used roles are being dumped.
- Do no treat roles as regular users so, using --drop won't affect roles.
- If --only=user is specified, only roles for that user will be dumped.
- Specifying --only=role,user will ignore role (as per item #2) so the
role will be dumped ONLY if it was granted to 'user'
- Added new parameter --[no]include-unused-roles

Tags: pt-show-grants
Resolves: PT-1525
See also: PT-1488
2018-04-26 17:20:42 -03:00
Carlos Salguero a79299bb12 PT-1543 Added --list-encrypted-table to pt-mysql-summary 2018-04-24 14:49:33 -03:00
Carlos Salguero e3a7c8036d Updated version to 3.0.10-dev 2018-04-24 11:56:17 -03:00
Carlos Salguero 063ccb3c6f Revert "Merge pull request #320 from percona/PT-1488_mysql_8_support_pt-show-grants"
This reverts commit b90043ff0b, reversing
changes made to d8a2466666.
2018-04-19 14:59:36 -03:00
Carlos Salguero 9697fe25fb Revert "Merge branch 'PT-131' into release-3.0.9"
This reverts commit f692b9f107, reversing
changes made to 446a65bd46.
2018-04-17 14:03:21 -03:00
Carlos Salguero 849aff4673 Merge branch 'release-3.0.9' of percona.github.com:percona/percona-toolkit into release-3.0.9 2018-04-17 09:16:13 -03:00
Carlos Salguero f692b9f107 Merge branch 'PT-131' into release-3.0.9 2018-04-17 09:15:33 -03:00