mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-19 01:09:21 +08:00
Compare commits
23 Commits
dependabot
...
3.x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
588bf78d65 | ||
|
|
6b3e5ed485 | ||
|
|
c8c9798f1e | ||
|
|
4b0ff0b2a0 | ||
|
|
75207ea316 | ||
|
|
41632da754 | ||
|
|
440befcf4c | ||
|
|
6f43d4658f | ||
|
|
fb97bf6356 | ||
|
|
78d8095bc8 | ||
|
|
935da0c57a | ||
|
|
ffa765f471 | ||
|
|
2dfb6ca93f | ||
|
|
05e4140c0b | ||
|
|
127b2adfe7 | ||
|
|
7fbda157d8 | ||
|
|
84c90314b1 | ||
|
|
fef6e01fd5 | ||
|
|
d7fc0f2d21 | ||
|
|
17b3b66b54 | ||
|
|
bcae8b2d60 | ||
|
|
25a011d18e | ||
|
|
f13135674b |
40
Changelog
40
Changelog
@@ -1,5 +1,45 @@
|
||||
Changelog for Percona Toolkit
|
||||
|
||||
v3.7.1 released 2025-12-17
|
||||
|
||||
* Feature PT-2453: Add -skip-pod-summary for pt-k8s-debug-collector (Thanks to Iwo Panowicz for the contribution)
|
||||
* Feature PT-191: add ssl options to DSN
|
||||
* Feature PR-996: Add invisible option to pt-duplicate-key-checker (Thanks to Matthew Boehm for the contribution)
|
||||
* Feature PT-2289: Allow pt-stalk do disable ps-lock-transactions data collection via parameter
|
||||
* Feature PKG-1138: Build percona-toolkit on deb13
|
||||
* Feature PR-1041: Add support for Amazon Linux 2023
|
||||
* Improvement PR-951: PMM-12548 Add json tags for PMM purposes.
|
||||
* Improvement PT-1718: Have pt-stalk collect performance_schema.threads along with information_schema.processlist (Thanks to Nilnandan Joshi for the contribution)
|
||||
* Improvement PT-2469: version_cmp is binary file
|
||||
* Improvement PT-2052: Tools should default to unbuffered stdout/stderr
|
||||
* Improvement PT-1423: LP #1682929: pt-table-checksum: First chunk takes too long
|
||||
* Improvement PT-2305: pt-online-schema-change should error if server is a slave in row based replication
|
||||
* Improvement PR-1013: PMM-11406 Better check to prevent errors from missing fields.
|
||||
* Fixed bug PT-2424: Typo in pt-table-checksum error message "--resume and --no-empty-replicate-table are mutually exclusive"
|
||||
* Fixed bug PR-953: Update documentation of pt-query-digest - better description for --output secure-slowlog (Thanks to Paweł Kudzia for the contribution)
|
||||
* Fixed bug PT-2129: pt-online-schema-change and other tools fail on non-readable version check file
|
||||
* Fixed bug PR-890: pt-config-diff: MySQL truncates run-time variable values longer than 1024 characters (Thanks to Maciej Dobrzanski for the contribution)
|
||||
* Fixed bug PT-2418: pt-online-schema-change 3.7.0 lost data when exe alter xxx rename column xxx (Thanks to Marek Knappe for the contribution)
|
||||
* Fixed bug PT-2458: remove-data-dir defaults to True (Thanks to Marek Knappe for the contribution)
|
||||
* Fixed bug PT-2463: pt-galera-log-explainer broken conflicts due to md5 being recomputed (Thanks to Yoann La Cancellera for the contribution)
|
||||
* Fixed bug PT-2465: Fix Regex pattern search on version 3.7.0 for mariadb based DBs (Thanks to Nyele for the contribution)
|
||||
* Fixed bug PT-2435: t/pt-online-schema-change/pt-1717-resume.t fails after PT-2355 fix
|
||||
* Fixed bug PT-2467: t/pt-show-grants/basics.t t/pt-table-checksum/basics.t t/pt-table-sync/filters.t t/pt-upgrade/diff_rows.t fail with the latest PT
|
||||
* Fixed bug PT-2401: pt-online-schema-change 'table does not exist' on macos (Thanks to Taehyung Lim for the contribution)
|
||||
* Fixed bug PR-989: Fix script crashing with precedence error (Thanks to Viktoras Agejevas for the contribution)
|
||||
* Fixed bug PT-2471: Link to the repository documentation is broken
|
||||
* Fixed bug PT-2322: pt-mysql-summary does not detect jemalloc.
|
||||
* Fixed bug PT-2015: pt-config-diff does not sort variable flags (Thanks to Hartley McGuire for the contribution)
|
||||
* Fixed bug PT-2459: Mention "pt" repo for percona-toolkit installation
|
||||
* Fixed bug PT-2470: pt-table-sync supports recursion methods dsn and cluster but documentation does not mention it
|
||||
* Fixed bug PT-2014: pt-config-diff does not honor case insensitivity flag (Thanks to Nilnandan Joshi for the contribution)
|
||||
* Fixed bug PT-2346: t/pt-table-sync/specify_column_or_index.t fails with 5.7
|
||||
* Fixed bug PT-1151: LP #1225577: pt-online-schema-change can silently drop rows
|
||||
* Fixed bug PT-1564: Man page broken for pt-secure-collect
|
||||
* Fixed bug PT-2492: t/pt-online-schema-change/pt-200.t fails after fix for PT-1151
|
||||
* Fixed bug PT-2250: pt-table-checksum reports error if recursion method is DSN
|
||||
* Fixed bug PT-2498: pt-sift does not work starting from version 3.7.0
|
||||
|
||||
v3.7.0-2 released 2025-05-14
|
||||
|
||||
This release addresses multiple security vulnerabilities reported in Percona Toolkit version 3.7.0, including issues related to the `libxml2` component (CVE-2024-56171, CVE-2025-24928), `openssl` (CVE-2024-12797), and `krb5` (CVE-2022-37967).
|
||||
|
||||
@@ -11,7 +11,7 @@ MAKE_GOTOOLS
|
||||
|
||||
WriteMakefile(
|
||||
NAME => 'Percona::Toolkit',
|
||||
VERSION => '3.7.0-2',
|
||||
VERSION => '3.7.1',
|
||||
EXE_FILES => [ <bin/*> ],
|
||||
MAN1PODS => {
|
||||
'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p',
|
||||
|
||||
@@ -1377,6 +1377,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-align 3.7.0
|
||||
pt-align 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -8988,6 +8988,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-archiver 3.7.0
|
||||
pt-archiver 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -43,7 +43,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -6075,6 +6075,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-config-diff 3.7.0
|
||||
pt-config-diff 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -42,7 +42,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -5837,6 +5837,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-deadlock-logger 3.7.0
|
||||
pt-deadlock-logger 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -38,7 +38,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -5709,6 +5709,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-diskstats 3.7.0
|
||||
pt-diskstats 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -39,7 +39,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -5872,6 +5872,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-duplicate-key-checker 3.7.0
|
||||
pt-duplicate-key-checker 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -252,6 +252,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-eustack-resolver 3.7.0
|
||||
pt-eustack-resolver 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -1732,6 +1732,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-fifo-split 3.7.0
|
||||
pt-fifo-split 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -35,7 +35,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -5259,6 +5259,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-find 3.7.0
|
||||
pt-find 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -2284,6 +2284,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-fingerprint 3.7.0
|
||||
pt-fingerprint 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -37,7 +37,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -4824,6 +4824,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-fk-error-logger 3.7.0
|
||||
pt-fk-error-logger 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -44,7 +44,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -7761,6 +7761,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-heartbeat 3.7.0
|
||||
pt-heartbeat 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -7776,6 +7776,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-index-usage 3.7.0
|
||||
pt-index-usage 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -1149,7 +1149,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-ioprofile 3.7.0
|
||||
pt-ioprofile 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -8948,6 +8948,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-kill 3.7.0
|
||||
pt-kill 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -825,7 +825,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-mext 3.7.0
|
||||
pt-mext 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
@@ -3444,7 +3444,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-mysql-summary 3.7.0
|
||||
pt-mysql-summary 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -14303,6 +14303,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-online-schema-change 3.7.0
|
||||
pt-online-schema-change 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -1042,7 +1042,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-pmp 3.7.0
|
||||
pt-pmp 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -17169,6 +17169,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-query-digest 3.7.0
|
||||
pt-query-digest 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -4802,6 +4802,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-replica-find 3.7.0
|
||||
pt-replica-find 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -41,7 +41,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -6500,6 +6500,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-replica-restart 3.7.0
|
||||
pt-replica-restart 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -2744,6 +2744,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-show-grants 3.7.0
|
||||
pt-show-grants 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -1313,7 +1313,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-sift 3.7.0
|
||||
pt-sift 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -5292,6 +5292,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-slave-delay 3.7.0
|
||||
pt-slave-delay 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -2656,7 +2656,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-stalk 3.7.0
|
||||
pt-stalk 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
@@ -2808,7 +2808,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-summary 3.7.0
|
||||
pt-summary 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -14474,6 +14474,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-table-checksum 3.7.0
|
||||
pt-table-checksum 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -55,7 +55,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -13488,6 +13488,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-table-sync 3.7.0
|
||||
pt-table-sync 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -8640,6 +8640,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-table-usage 3.7.0
|
||||
pt-table-usage 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -61,7 +61,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -11577,6 +11577,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-upgrade 3.7.0
|
||||
pt-upgrade 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -44,7 +44,7 @@ BEGIN {
|
||||
{
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -6434,6 +6434,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-variable-advisor 3.7.0
|
||||
pt-variable-advisor 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -4254,6 +4254,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
pt-visual-explain 3.7.0
|
||||
pt-visual-explain 3.7.1
|
||||
|
||||
=cut
|
||||
|
||||
@@ -170,7 +170,7 @@ install_go() {
|
||||
#rm -rf /usr/local/go /usr/local/go1.8 /usr/local/go1.9
|
||||
#mv go1.9 /usr/local/
|
||||
#ln -s /usr/local/go1.9 /usr/local/go
|
||||
GO_VERSION=1.23.4
|
||||
GO_VERSION=1.25.5
|
||||
if [ x"$ARCH" = "xx86_64" ]; then
|
||||
GO_ARCH="amd64"
|
||||
elif [ x"$ARCH" = "xaarch64" ]; then
|
||||
|
||||
@@ -50,7 +50,7 @@ copyright = u'2025, Percona LLC and/or its affiliates'
|
||||
# The short X.Y version.
|
||||
version = '3.7'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '3.7.0-2'
|
||||
release = '3.7.1'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
||||
@@ -607,6 +607,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
Percona Toolkit v3.7.0 released 2024-12-19
|
||||
Percona Toolkit v3.7.1 released 2025-12-17
|
||||
|
||||
=cut
|
||||
|
||||
@@ -1,6 +1,59 @@
|
||||
Release Notes
|
||||
***************
|
||||
|
||||
v3.7.1 released 2025-12-17
|
||||
==============================
|
||||
|
||||
New Features
|
||||
------------------------------------------------------------
|
||||
|
||||
* :jirabug:`PT-2453`: Add -skip-pod-summary for pt-k8s-debug-collector (Thanks to Iwo Panowicz for the contribution)
|
||||
* :jirabug:`PT-191`: Add SSL options to DSN
|
||||
* `PR-996`: Add invisible option to pt-duplicate-key-checker (Thanks to Matthew Boehm for the contribution)
|
||||
* :jirabug:`PT-2289`: Allow pt-stalk to disable ps-lock-transactions data collection via parameter
|
||||
* :jirabug:`PKG-1138`: Build percona-toolkit on deb13
|
||||
* `PR-1041`: Add support for Amazon Linux 2023
|
||||
|
||||
Improvements
|
||||
------------------------------------------------------------
|
||||
|
||||
* `PR-951`: PMM-12548 Add JSON tags for PMM purposes
|
||||
* :jirabug:`PT-1718`: Have pt-stalk collect performance_schema.threads along with information_schema.processlist (Thanks to Nilnandan Joshi for the contribution)
|
||||
* :jirabug:`PT-2469`: version_cmp is binary file
|
||||
* :jirabug:`PT-2052`: Tools should default to unbuffered stdout/stderr
|
||||
* :jirabug:`PT-1423`: LP #1682929: pt-table-checksum: First chunk takes too long
|
||||
* :jirabug:`PT-2305`: pt-online-schema-change should error if server is a slave in row-based replication
|
||||
* `PR-1013`: PMM-11406 Better check to prevent errors from missing fields
|
||||
|
||||
Bugs Fixed
|
||||
------------------------------------------------------------
|
||||
|
||||
* :jirabug:`PT-2424`: Typo in pt-table-checksum error message "--resume and --no-empty-replicate-table are mutually exclusive" (Thanks to Paweł Kudzia for the contribution)
|
||||
* `PR-953`: Update documentation of pt-query-digest – better description for --output secure-slowlog (Thanks to Paweł Kudzia for the contribution)
|
||||
* :jirabug:`PT-2129`: pt-online-schema-change and other tools fail on non-readable version check file
|
||||
* `PR-890`: pt-config-diff: MySQL truncates run-time variable values longer than 1024 characters (Thanks to Maciej Dobrzanski for the contribution)
|
||||
* :jirabug:`PT-2418`: pt-online-schema-change 3.7.0 lost data when executing ALTER … RENAME COLUMN (Thanks to Marek Knappe for the contribution)
|
||||
* :jirabug:`PT-2458`: remove-data-dir defaults to True (Thanks to Marek Knappe for the contribution)
|
||||
* :jirabug:`PT-2463`: pt-galera-log-explainer broken due to md5 being recomputed (Thanks to Yoann La Cancellera for the contribution)
|
||||
* :jirabug:`PT-2465`: Fix Regex pattern search on version 3.7.0 for MariaDB-based DBs (Thanks to Nyele for the contribution)
|
||||
* :jirabug:`PT-2435`: t/pt-online-schema-change/pt-1717-resume.t fails after PT-2355 fix
|
||||
* :jirabug:`PT-2467`: t/pt-show-grants/basics.t t/pt-table-checksum/basics.t t/pt-table-sync/filters.t t/pt-upgrade/diff_rows.t fail with the latest PT
|
||||
* :jirabug:`PT-2401`: pt-online-schema-change 'table does not exist' on macOS (Thanks to Taehyung Lim for the contribution)
|
||||
* `PR-989`: Fix script crashing with precedence error (Thanks to Viktoras Agejevas for the contribution)
|
||||
* :jirabug:`PT-2471`: Link to the repository documentation is broken
|
||||
* :jirabug:`PT-2322`: pt-mysql-summary does not detect jemalloc
|
||||
* :jirabug:`PT-2015`: pt-config-diff does not sort variable flags (Thanks to Hartley McGuire for the contribution)
|
||||
* :jirabug:`PT-2459`: Mention "pt" repo for percona-toolkit installation
|
||||
* :jirabug:`PT-2470`: pt-table-sync supports recursion methods dsn and cluster but documentation does not mention it
|
||||
* :jirabug:`PT-2014`: pt-config-diff does not honor case-insensitivity flag (Thanks to Nilnandan Joshi for the contribution)
|
||||
* :jirabug:`PT-2346`: t/pt-table-sync/specify_column_or_index.t fails with 5.7
|
||||
* :jirabug:`PT-1151`: LP #1225577: pt-online-schema-change can silently drop rows
|
||||
* :jirabug:`PT-1564`: Man page broken for pt-secure-collect
|
||||
* :jirabug:`PT-2492`: t/pt-online-schema-change/pt-200.t fails after fix for PT-1151
|
||||
* :jirabug:`PT-2250`: pt-table-checksum reports error if recursion method is DSN
|
||||
* :jirabug:`PT-2498`: pt-sift does not work starting from version 3.7.0
|
||||
|
||||
|
||||
v3.7.0-2 released 2025-05-14
|
||||
==============================
|
||||
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,6 +1,6 @@
|
||||
module github.com/percona/percona-toolkit
|
||||
|
||||
go 1.25.4
|
||||
go 1.25.5
|
||||
|
||||
require (
|
||||
github.com/AlekSi/pointer v1.2.0
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
# ###########################################################################
|
||||
package Percona::Toolkit;
|
||||
|
||||
our $VERSION = '3.7.0';
|
||||
our $VERSION = '3.7.1';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
|
||||
@@ -16,6 +16,6 @@ sphinx-tabs
|
||||
certifi>=2024.7.4 # not directly required, pinned by Snyk to avoid a vulnerability
|
||||
jinja2>=3.1.6 # not directly required, pinned by Snyk to avoid a vulnerability
|
||||
pygments>=2.15.0 # not directly required, pinned by Snyk to avoid a vulnerability
|
||||
requests>=2.32.4 # not directly required, pinned by Snyk to avoid a vulnerability
|
||||
setuptools>=78.1.1 # not directly required, pinned by Snyk to avoid a vulnerability
|
||||
requests>=2.31.0 # not directly required, pinned by Snyk to avoid a vulnerability
|
||||
setuptools==68.0.0 # not directly required, pinned by Snyk to avoid a vulnerability
|
||||
idna>=3.7 # not directly required, pinned by Snyk to avoid a vulnerability
|
||||
|
||||
@@ -132,7 +132,7 @@ for my $i (2..9) {
|
||||
no_diff(
|
||||
sub {
|
||||
local $ENV{_NO_FALSE_NEGATIVES} = 1;
|
||||
print `$env $trunk/bin/$tool --read-samples $trunk/t/pt-mysql-summary/samples/temp_enc00$i -- --defaults-file=/tmp/12345/my.sandbox.cnf | tail -n+3 | perl -wlnpe 's/Skipping schema analysis.*/Specify --databases or --all-databases to dump and summarize schemas/'`
|
||||
print `LOCALE=en_US.utf8 LANG=en_US.UTF-8 $env $trunk/bin/$tool --read-samples $trunk/t/pt-mysql-summary/samples/temp_enc00$i -- --defaults-file=/tmp/12345/my.sandbox.cnf | tail -n+3 | perl -wlnpe 's/Skipping schema analysis.*/Specify --databases or --all-databases to dump and summarize schemas/'`
|
||||
},
|
||||
"t/pt-mysql-summary/samples/expected_output_temp_enc00$i.txt",
|
||||
),
|
||||
|
||||
@@ -46,6 +46,12 @@ sub cleanup {
|
||||
|
||||
cleanup();
|
||||
|
||||
# We need to enable transaction instrumentation in 5.7
|
||||
if ( $sandbox_version eq '5.7' ) {
|
||||
$dbh->do("UPDATE performance_schema.setup_instruments SET enabled = 'YES'"
|
||||
. ", timed='YES' WHERE NAME IN ('transaction')");
|
||||
}
|
||||
|
||||
# We need these to collect lock-waits
|
||||
sub start_thread_pt_1897_1 {
|
||||
# this must run in a thread because we need to have an active session
|
||||
@@ -257,6 +263,11 @@ like(
|
||||
|
||||
cleanup();
|
||||
diag(`rm -rf $dest 2>/dev/null`);
|
||||
if ( $sandbox_version eq '5.7' ) {
|
||||
$dbh->do("UPDATE performance_schema.setup_instruments SET enabled = 'NO'"
|
||||
. ", timed='NO' WHERE NAME IN ('transaction')");
|
||||
}
|
||||
|
||||
$sb->wipe_clean($dbh);
|
||||
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
|
||||
done_testing;
|
||||
|
||||
@@ -46,7 +46,7 @@ diag("Starting checksum");
|
||||
# The sandbox servers run with lock_wait_timeout=3 and it's not dynamic
|
||||
# so we need to specify --set-vars innodb_lock_wait_timeout=3 else the tool will die.
|
||||
# And --max-load "" prevents waiting for status variables.
|
||||
my $source_dsn = 'h=127.1,P=12345,u=msandbox,p=msandbox';
|
||||
my $source_dsn = 'h=127.1,P=12345,u=msandbox,p=msandbox,s=1';
|
||||
my @args = ($source_dsn, qw(--no-check-binlog-format --chunk-size 10));
|
||||
my $output;
|
||||
|
||||
|
||||
@@ -20,6 +20,14 @@ my $dp = new DSNParser(opts=>$dsn_opts);
|
||||
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
|
||||
my $dbh = $sb->get_dbh_for('source');
|
||||
|
||||
# pt-tc does not buffer output with 5.7, at least it is not possible
|
||||
# to catch buffering with the tee command we use for tests.
|
||||
# Since main issue of buffering is getting data in K8 environments,
|
||||
# and k8 environments mostly use 8.0+, no sense to test buffering with 5.7.
|
||||
if ( $sandbox_version eq '5.7' ) {
|
||||
plan skip_all => 'Test requires 8.0 or newer';
|
||||
}
|
||||
|
||||
my $output = `$trunk/bin/pt-table-checksum h=127.1,P=12345,u=msandbox,p=msandbox,s=1 --set-vars innodb_lock_wait_timeout=3 --chunk-size=50 -d sakila --buffer-stdout 2>&1 | tee | ts '%m-%dT%H:%M:%S'`;
|
||||
|
||||
my @lines = split(/\n/, $output);
|
||||
|
||||
@@ -31,7 +31,7 @@ if ( !$source_dbh ) {
|
||||
# The sandbox servers run with lock_wait_timeout=3 and it's not dynamic
|
||||
# so we need to specify --set-vars innodb_lock_wait_timeout=3 else the tool will die.
|
||||
# And --max-load "" prevents waiting for status variables.
|
||||
my $source_dsn = 'h=127.1,P=12345,u=msandbox,p=msandbox';
|
||||
my $source_dsn = 'h=127.1,P=12345,u=msandbox,p=msandbox,s=1';
|
||||
my @args = ($source_dsn, qw(--set-vars innodb_lock_wait_timeout=3), '--max-load', '');
|
||||
my $output;
|
||||
my $exit_status;
|
||||
|
||||
@@ -16,3 +16,5 @@ INSERT INTO `GroupMembers` VALUES
|
||||
(450876,3,691360),(450881,3,691366),(450886,3,691372),(450893,3,691382),(450898,3,691388),(450903,3,691394),(450912,3,691408),(450921,3,691422),(450926,3,691428),(450931,3,691434),(450936,3,691440),(450945,3,691454),(450969,3,691496),(450989,3,691530),(450998,3,691544),(451022,3,691574),(451076,3,691636),(451081,3,691642),(451090,3,691656),(451095,3,691662),(451100,3,691668),(451115,3,691694),(451155,3,691756),(451171,3,691782),(451178,3,691792),(451183,3,691798),(451190,3,691808),(451245,3,691914),(451260,3,691940),(451267,3,691950),(451284,3,691976),(451290,3,691982),(451301,3,691992),(451323,3,692030),(451376,3,692128),(451395,3,692162),(451400,3,692168),(451433,3,692226),(451460,3,692276),(451471,3,692294),(451476,3,692300),(451487,3,692318),(451500,3,692340),(451517,3,692370),(451522,3,692376),(451527,3,692382),(451532,3,692388),(451537,3,692394),(451542,3,692400),(451549,3,692410),(451554,3,692416),(451563,3,692430),(451574,3,692448),(451587,3,692470),(451604,3,692500),(491255,3,751615),(491265,3,751629),(491279,3,751647),(491313,3,751689),(491318,3,751695),(491339,3,751725),(491344,3,751731),(491350,3,751737),(491367,3,751767),(491376,3,751781),(491381,3,751787),(491390,3,751801),(491399,3,751815),(491406,3,751825),(491415,3,751839),(491420,3,751845),(491425,3,751851),(491430,3,751857),(491447,3,751887),(491454,3,751897),(491463,3,751912),(491484,3,751950),(491563,3,752104),(491580,3,752134),(491595,3,752160),(491604,3,752174),(491615,3,752192),(491624,3,752206),(491631,3,752216),(491652,3,752254),(491657,3,752260),(491664,3,752270),(491675,3,752288),(491680,3,752294),(491685,3,752300),(491692,3,752310),(491697,3,752316),(491704,3,752326),(491715,3,752344),(491742,3,752394),(491757,3,752420),(491762,3,752426),(491769,3,752436),(491774,3,752442),(491779,3,752448),(491786,3,752458),(491799,3,752480),(491806,3,752490),(491813,3,752500),(491821,3,752510),(491833,3,752524),(491838,3,752530),(491843,3,752536),(491848,3,752542),(491853,3,752548),(491858,3,752554),(491865,3,752564),(491870,3,752570),(491875,3,752576),(491886,3,752594),(491891,3,752600),(491933,3,752642),(491938,3,752648),(491965,3,752686),(491976,3,752704),(491991,3,752726),(492004,3,752748),(492013,3,752762),(492018,3,752768),(492023,3,752774),(492030,3,752780),(492037,3,752786),(492062,3,752816),(492073,3,752834),(492078,3,752840),(492089,3,752858),(492094,3,752864),(492099,3,752870),(492128,3,752908),(492139,3,752922),(492158,3,752956),(492163,3,752962),(492184,3,753000),(492196,3,753010),(492224,3,753044),(492231,3,753054),(492236,3,753060),(492241,3,753066),(492246,3,753072),(492253,3,753082),(492258,3,753088),(492267,3,753102),(492272,3,753108),(492277,3,753114),(492282,3,753120),(492287,3,753126),(492292,3,753132),(492297,3,753138),(492302,3,753144),(492307,3,753150),(492312,3,753156),(492317,3,753162),(492326,3,753176),(492331,3,753182),(492338,3,753192),(492343,3,753198),(492348,3,753204),(492357,3,753218),(492364,3,753228),(492377,3,753250),(492384,3,753260),(492389,3,753266),(492394,3,753272),(492401,3,753282),(492458,3,753368),(492463,3,753374),(492469,3,753380),(492489,3,753414),(492496,3,753424),(492503,3,753434),(492510,3,753444),(492515,3,753450),(492528,3,753472),(492537,3,753486),(492577,3,753552),(492584,3,753562),(492591,3,753572),(492596,3,753578),(492605,3,753592),(492610,3,753598),(492615,3,753604),(492620,3,753610),(492625,3,753616),(492630,3,753622),(492636,3,753628),(492653,3,753654),(492664,3,753672),(492681,3,753702),(492686,3,753708),(492693,3,753718),(492700,3,753728),(492705,3,753734),(492716,3,753752),(492727,3,753770),(492736,3,753784),(492745,3,753798),(492754,3,753812),(492759,3,753818),(492764,3,753824),(492783,3,753846),(492817,3,753896),(492842,3,753942),(492847,3,753948),(492854,3,753958),(492863,3,753972),(492870,3,753982),(492895,3,754020),(492900,3,754026),(492907,3,754036),(492914,3,754046),(492919,3,754052),(492924,3,754058),(492929,3,754064),(492934,3,754070),(492943,3,754084),(492950,3,754094),(492957,3,754104),(492964,3,754114),(492969,3,754120),(492981,3,754138),(492996,3,754164),(493002,3,754170),(493007,3,754176),(493027,3,754202),(493035,3,754208),(493042,3,754218),(493053,3,754236),(493064,3,754254),(493071,3,754264),(493076,3,754270);
|
||||
|
||||
/*!40000 ALTER TABLE `GroupMembers` ENABLE KEYS */;
|
||||
|
||||
ANALYZE TABLE `GroupMembers`;
|
||||
|
||||
Reference in New Issue
Block a user