Commit Graph

2288 Commits

Author SHA1 Message Date
Tim Birkett
32ffea44ec Fix pt-show-grants for MariaDB 2018-10-05 11:19:27 +01:00
Carlos Salguero
45a8579af7 PT-1618 Fixed documentation typos 2018-09-26 09:51:37 -03:00
Carlos Salguero
2b5c8f69ab PT-1573 Fixed General log parser regex
The regexp to process log entries was not considering timestamps in +n,
it was only considering timestamps in -n hours
2018-09-26 09:25:33 -03:00
Carlos Salguero
91484a7bb5 Merge branch '3.0' into PT-1616 2018-09-25 17:34:28 -03:00
Carlos Salguero
eec92a7387 Updated Percona::Toolkit version to 3.0.13-dev 2018-09-25 17:33:01 -03:00
Carlos Salguero
07dd17f29c PT-1616 pt-table-checksum fails on --resume
pt-table-checksum is serializing the chunk boundaries before saving them
into the checksum table. On some cases, --resume was failing and it was
because it wasn't properly deserializing the values for the boundaries
for compound primary keys.
2018-09-25 17:26:31 -03:00
Carlos Salguero
d3741ca915 Merge pull request #363 from percona/release-3.0.12
RM-387 Updated version, changelog and release notes
2018-09-24 10:52:14 -03:00
Carlos Salguero
964ed4c05c PT-1340 removed debug param from default mysqladmin command 2018-09-24 10:10:18 -03:00
EvgeniyPatlan
2cb3533611 Build repcona-toolkit-3.0.12 2018-09-11 11:22:26 +00:00
Carlos Salguero
ffc0fd9ae2 RM-387 Updated version, changelog and release notes 2018-09-10 17:01:41 -03:00
Carlos Salguero
11695b5b5c Merge pull request #362 from percona/PT-1611
PT-1611 pt-archiver support writing the output having utf-8 chars
2018-09-10 15:06:51 -03:00
Carlos Salguero
e5724f41cf PT-1611 pt-archiver support writing the output having utf-8 chars 2018-09-10 14:51:53 -03:00
Dmitriy Kostiuk
aac8b6a85a Fix PT-1605, 3.0 version, documenting data collected... (#359)
* Fix PT-1605, 3.0 version, documenting data collected with --version-check

* Made text more general and less PT based
2018-08-30 23:30:10 +03:00
fiowro
e1548d953f Fix PT-1321 documenting required MySQL privileges for pt-online-schema-change 2018-08-29 11:46:16 +03:00
Carlos Salguero
672be1a2b2 Merge pull request #356 from percona/PT-1574
PT-1574 Improved detection of nullable keys
2018-08-13 12:45:35 -03:00
Carlos Salguero
022dc7377b Merge pull request #355 from percona/PT-1572
PT-1572 Better usage of ENUM fields in keys
2018-08-13 12:45:03 -03:00
Carlos Salguero
bc90a923b1 PT-1572 removed --force-concat-enums in pt-table-sync 2018-08-09 14:00:39 -03:00
Carlos Salguero
8c806df658 PT-1572 Fixed issue with --chunk-index-columns 2018-08-09 13:58:31 -03:00
Carlos Salguero
dc9edf7cda PT-1574 Fixed undefs handling 2018-08-07 14:21:44 -03:00
Carlos Salguero
d589034b31 PT-1422 Improved MariaDB support in pt-mysql-summary 2018-07-30 14:45:00 -03:00
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
2b45f192b0 PT-1574 Improved detection of nullable keys 2018-07-27 13:34:19 -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