5807 Commits

Author SHA1 Message Date
nilnandan
6588510632 PT-1718 - Have pt-stalk collect performance_schema.threads along with information_schema.processlist
- Update collect.sh file and add code for collecting threads details.
- Add PT-1718-threads.t test file for testing this fix.
2025-07-30 14:11:43 +00:00
Sveta Smirnova
2bea8ac44b PT-191 - add ssl options to DSN
- Added test t/pt-replica-find/ssl.t
- Added option --mysql_ssl to all tools that support own connection
  options
2025-07-29 22:02:49 +03:00
Sveta Smirnova
2954d5a749 PT-191 - add ssl options to DSN
- Typo in t/pt-index-usage/ssl.t
- Missed test t/pt-query-digest/ssl.t
- Missed option --mysql_ssl in pt-query-digest
2025-07-28 19:05:00 +03:00
Sveta Smirnova
9b666ef368 Merge pull request #977 from ylacancellera/PT-2463_pt-galera-log-explainer_broken_conflicts_due_to_md5_being_recomputed
PT-2463 pt-galera-log-explainer broken conflicts due to md5 being rec…
2025-07-26 14:19:39 +03:00
Sveta Smirnova
b7094dfd09 PT-191 - add ssl options to DSN
- Added test cases to ensure SSL is working in all tools
2025-07-26 14:18:30 +03:00
Sveta Smirnova
7a8fee3d86 Merge pull request #974 from marek-knappe/PT-2457-pt-online-schema-change-add-drop-tablespace-Option
fix(pt-online-schema-change): correct --remove-data-dir default behav…
2025-07-23 13:11:59 +03:00
Sveta Smirnova
95b79e1253 Merge pull request #976 from marek-knappe/PTT-2418-lost-data-when-alter
PT-2418: Fix column data loss during RENAME COLUMN operations
2025-07-22 16:30:25 +03:00
Sveta Smirnova
1d0487cf2f PT-2418 - pt-online-schema-change 3.7.0 lost data when exe alter xxx rename column xxx
- Added instructions to skip the test if server version is less than 8.0
2025-07-21 18:25:30 +03:00
dependabot[bot]
9aa6bda77e build(deps): bump golang.org/x/crypto from 0.39.0 to 0.40.0 (#979)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/crypto/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 16:13:28 +02:00
Sveta Smirnova
8f068a9d59 PT-2418 - pt-online-schema-change 3.7.0 lost data when exe alter xxx rename column xxx
- Added clean up to the test
- Added test for enabled option --check-alter
- Removed extra spaces
2025-07-21 16:45:10 +03:00
Sveta Smirnova
4fff73e77d Merge pull request #972 from percona/dependabot/go_modules/k8s.io/api-0.33.2
build(deps): bump k8s.io/api from 0.33.1 to 0.33.2
2025-07-21 15:48:34 +03:00
Sveta Smirnova
0a17e767b2 Merge pull request #975 from percona/dependabot/go_modules/github.com/alecthomas/kong-1.12.0
build(deps): bump github.com/alecthomas/kong from 1.11.0 to 1.12.0
2025-07-21 15:48:17 +03:00
Sveta Smirnova
7aaa452ac2 Merge pull request #978 from percona/dependabot/github_actions/aquasecurity/trivy-action-0.32.0
build(deps): bump aquasecurity/trivy-action from 0.31.0 to 0.32.0
2025-07-21 15:47:56 +03:00
mamadi
2dd8de7def created test case for patch 2025-07-16 16:45:17 +02:00
mamadi
6c11129419 PT-2465 patch fix for erroneous flavour mismatch in mariadb-10.5.x and above 2025-07-16 13:37:47 +02:00
dependabot[bot]
92cb5b18e5 build(deps): bump aquasecurity/trivy-action from 0.31.0 to 0.32.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.31.0...0.32.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-07 11:03:27 +00:00
Yoann La Cancellera
2220dbdebf PT-2463 pt-galera-log-explainer broken conflicts due to md5 being recomputed 2025-07-03 18:07:30 +02:00
Marek Knappe
4a9a4bb903 PT-2418: Fix column data loss during RENAME COLUMN operations
The pt-online-schema-change tool was not properly handling RENAME COLUMN
syntax (MySQL 8.0+), causing renamed columns to be excluded from the
data copy operation. This resulted in NULL values for renamed columns
after the schema change.

The issue was in the find_renamed_cols() function which only supported
CHANGE COLUMN syntax but not RENAME COLUMN syntax. Added support for
RENAME COLUMN parsing to properly detect column renames and include
them in the common_cols list for data copying.

Fixes: PT-2418
2025-07-02 12:45:00 +10:00
dependabot[bot]
4275b191b1 build(deps): bump github.com/alecthomas/kong from 1.11.0 to 1.12.0
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong) from 1.11.0 to 1.12.0.
- [Commits](https://github.com/alecthomas/kong/compare/v1.11.0...v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/kong
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 12:30:51 +00:00
Marek Knappe
6c9ed6ed5b Changed optionparser to allow for default: no to be false and run update-modules #PT-2457 2025-06-25 10:58:43 +10:00
Marek Knappe
d0d046122b fix(pt-online-schema-change): correct --remove-data-dir default behavior (#PT-2458)
- Fixed issue where --remove-data-dir incorrectly defaulted to true

feat(pt-online-schema-change): add support for TABLESPACE removal (#PT-2457)
- Implemented detection and removal of TABLESPACE clause during schema changes
2025-06-24 17:09:55 +10:00
dependabot[bot]
a82ba0c281 build(deps): bump k8s.io/api from 0.33.1 to 0.33.2
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.33.1 to 0.33.2.
- [Commits](https://github.com/kubernetes/api/compare/v0.33.1...v0.33.2)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-version: 0.33.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 10:27:23 +00:00
Jiří Čtvrtka
06d5966106 PMM-12548 Add json tags for PMM purposes. (#951)
* PMM-12548 Add json tags for PMM purposes.

* PMM-12548 Response length json tag.
2025-06-23 13:13:08 +03:00
Sveta Smirnova
d5d39a83fa Merge pull request #890 from dbnski/long-variable-values
pt-config-diff: MySQL truncates run-time variable values longer than 1024 characters
2025-06-22 15:53:09 +03:00
Sveta Smirnova
6fc8f66792 Delete t/pt-config-diff/samples/long_vars_80_2.cnf 2025-06-22 15:49:08 +03:00
Sveta Smirnova
71c8d866a5 Delete t/pt-config-diff/samples/long_vars_80_1.cnf 2025-06-22 15:48:35 +03:00
Sveta Smirnova
6cff1dfe77 Delete t/pt-config-diff/samples/long_vars_57_2.cnf 2025-06-22 15:48:19 +03:00
Sveta Smirnova
9b83a7dc74 Delete t/pt-config-diff/samples/long_vars_57_1.cnf 2025-06-22 15:47:56 +03:00
Sveta Smirnova
64157c1fad Merge pull request #962 from percona/dependabot/go_modules/github.com/alecthomas/kong-1.11.0
build(deps): bump github.com/alecthomas/kong from 1.9.0 to 1.11.0
2025-06-17 18:46:35 +03:00
Sveta Smirnova
0c7e5d749c PR-890 - pt-config-diff: MySQL truncates run-time variable values longer than 1024 characters
- Modified test case, so it works with versions 5.7, 8.0, and 8.4
  without changes
2025-06-13 02:31:43 +03:00
Sveta Smirnova
b3bf684f39 Merge pull request #947 from percona/PT-2129_pt-online-schem-change_fails_on_non-readable_version_check_file
PT-2129 - pt-online-schem-change and other tools fail on non-readable…
2025-06-13 02:09:35 +03:00
Sveta Smirnova
6043df2ce4 Merge pull request #970 from percona/snyk-fix-01e585478eebb12025e705b763a12679
[Snyk] Security upgrade requests from 2.31.0 to 2.32.4
2025-06-12 17:39:57 +03:00
Sveta Smirnova
9726e2bfc6 Merge branch '3.x' into snyk-fix-01e585478eebb12025e705b763a12679 2025-06-12 17:39:12 +03:00
Sveta Smirnova
3d9d7acccb Merge pull request #969 from percona/dependabot/github_actions/aquasecurity/trivy-action-0.31.0
build(deps): bump aquasecurity/trivy-action from 0.30.0 to 0.31.0
2025-06-12 17:38:29 +03:00
Sveta Smirnova
37779c4364 Merge pull request #968 from percona/dependabot/go_modules/go.mongodb.org/mongo-driver-1.17.4
build(deps): bump go.mongodb.org/mongo-driver from 1.17.3 to 1.17.4
2025-06-12 17:38:06 +03:00
Sveta Smirnova
6e28207e89 Merge branch '3.x' into dependabot/go_modules/go.mongodb.org/mongo-driver-1.17.4 2025-06-12 17:37:58 +03:00
Sveta Smirnova
528007e2b0 Merge pull request #953 from pakud/patch-2
Update documentation of pt-query-digest - better description for --output secure-slowlog
2025-06-12 17:37:25 +03:00
Sveta Smirnova
d5f091cb9c Merge pull request #967 from percona/dependabot/go_modules/golang.org/x/crypto-0.39.0
build(deps): bump golang.org/x/crypto from 0.36.0 to 0.39.0
2025-06-12 17:37:02 +03:00
dependabot[bot]
8b4065c4d3 build(deps): bump golang.org/x/crypto from 0.36.0 to 0.39.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.36.0 to 0.39.0.
- [Commits](https://github.com/golang/crypto/compare/v0.36.0...v0.39.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 14:34:00 +00:00
Sveta Smirnova
42f74af5ba Merge pull request #963 from percona/dependabot/go_modules/k8s.io/api-0.33.1
build(deps): bump k8s.io/api from 0.32.3 to 0.33.1
2025-06-12 17:32:53 +03:00
Sveta Smirnova
14eff5f1df Merge pull request #952 from percona/dependabot/go_modules/golang.org/x/net-0.38.0
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0
2025-06-12 17:32:37 +03:00
Sveta Smirnova
46f5a2d220 Merge pull request #945 from percona/PT-2424_Typo_in_pt-table-checksum_error_message_--resume_and_--no-empty-replicate-table_are_mutually_exclusive
PT-2424 - Typo in pt-table-checksum error message "--resume and --no-…
2025-06-12 17:29:25 +03:00
Sveta Smirnova
edef468f8e Merge pull request #955 from percona/snyk-fix-4b2b455989372a42aad03eacd81cd35b
[Snyk] Security upgrade setuptools from 40.5.0 to 78.1.1
2025-06-12 17:14:54 +03:00
Sveta Smirnova
fa709c9064 Merge pull request #971 from percona/Release_notes_for_3_7_0_2
Release notes for 3 7 0 2
2025-06-12 17:01:19 +03:00
Sveta Smirnova
11e4588a73 Updated 3.7.0-2 notes with actual bug fixes 2025-06-12 16:50:21 +03:00
Sveta Smirnova
a63e3212f0 Updated 3.7.0-2 notes with actual bug fixes 2025-06-12 16:41:53 +03:00
Sveta Smirnova
2b2289f9f5 Merge pull request #966 from impimp/PT-2453
PT-2453: Add -skip-pod-summary for pt-k8s-debug-collector
2025-06-11 01:05:04 +03:00
snyk-bot
dc4aee8dfd fix: requirements-docbuild.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-10305723
2025-06-10 10:28:04 +00:00
Sveta Smirnova
b1279680fd PT-2453 - Add -skip-pod-summary for pt-k8s-debug-collector
- Added reserved word into .typos.toml
2025-06-09 17:14:00 +03:00
Sveta Smirnova
21b7edea4f PT-2453 - Add -skip-pod-summary for pt-k8s-debug-collector
- Added reserved word into .typos.toml
2025-06-09 16:55:24 +03:00