Compare commits

..

15 Commits

Author SHA1 Message Date
Sveta Smirnova
588bf78d65 Merge pull request #1047 from percona/release-v3.7.1
Release v3.7.1
2025-12-17 16:20:35 +03:00
Sveta Smirnova
6b3e5ed485 RM-1554 - Percona Toolkit 3.7.1
- Typo in bug subject
2025-12-17 15:43:47 +03:00
Sveta Smirnova
c8c9798f1e RM-1554 - Percona Toolkit 3.7.1
- Updated release date
2025-12-17 15:24:52 +03:00
Sveta Smirnova
4b0ff0b2a0 RM-1554 - Percona Toolkit 3.7.1
- Empty line in Makefile.PL
2025-12-15 14:08:39 +03:00
Sveta Smirnova
75207ea316 Merge pull request #1046 from percona/pack_changes_3.7.1
Update go_version
2025-12-15 13:26:09 +03:00
EvgeniyPatlan
41632da754 Update go_version 2025-12-15 12:24:29 +02:00
Sveta Smirnova
440befcf4c RM-1554 - Percona Toolkit 3.7.1
- Updated version properly
2025-12-13 17:17:11 +03:00
Sveta Smirnova
6f43d4658f Merge pull request #1042 from alina-derkach-oaza/PT-2479-RN-3.7.1
PT-2479 Release notes for Percona Toolkit 3.7.1
2025-12-12 18:41:51 +03:00
Sveta Smirnova
fb97bf6356 Merge branch 'release-v3.7.1' into PT-2479-RN-3.7.1 2025-12-12 18:41:41 +03:00
Sveta Smirnova
78d8095bc8 PT-2479 Release notes for Percona Toolkit 3.7.1
- Added missed PR on Amazon Linux 2023 support
2025-12-12 18:07:53 +03:00
Alina Derkach
935da0c57a PT-2479 Release notes for Percona Toolkit 3.7.1
modified:   Changelog
	modified:   Makefile.PL
	modified:   config/sphinx-build/conf.py
	modified:   docs/release_notes.rst
2025-12-12 15:52:39 +01:00
Sveta Smirnova
ffa765f471 RM-1554 - Percona Toolkit 3.7.1
- Updated Go to 1.25.5
- Updated version for all tools
2025-12-12 16:01:47 +03:00
Sveta Smirnova
2dfb6ca93f RM-1554 - Percona Toolkit 3.7.1
- Updated date in the Changlog
2025-12-12 15:48:06 +03:00
Sveta Smirnova
05e4140c0b RM-1554 - Percona Toolkit 3.7.1
- Disabled t/pt-table-checksum/pt-2052.t in 5.7
2025-12-12 01:48:58 +03:00
Sveta Smirnova
127b2adfe7 RM-1554 - Percona Toolkit 3.7.1
- Added additional pre-requisite for 5.7 in t/pt-stalk/pt-2289.t
2025-12-11 14:49:35 +03:00
43 changed files with 123 additions and 61 deletions

View File

@@ -1,12 +1,13 @@
Changelog for Percona Toolkit
v3.7.1 released 2025-12-09
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
@@ -16,7 +17,7 @@ v3.7.1 released 2025-12-09
* 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-schem-change and other tools fail on non-readable version check file
* 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)

View File

@@ -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',

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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
View File

@@ -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

View File

@@ -18,7 +18,7 @@
# ###########################################################################
package Percona::Toolkit;
our $VERSION = '3.7.0';
our $VERSION = '3.7.1';
use strict;
use warnings FATAL => 'all';

View File

@@ -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

View File

@@ -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);