Commit Graph

5782 Commits

Author SHA1 Message Date
Sveta Smirnova
478255a6d5 Merge pull request #996 from utdrmac/pt-dup-index-invis
Add invisible option to pt-duplicate-key-checker
2025-08-26 19:42:23 +03:00
Sveta Smirnova
30f2ae5fee Update bin/pt-duplicate-key-checker 2025-08-26 19:39:53 +03:00
Sveta Smirnova
afd8ccbbd5 PR-996 - Add invisible option to pt-duplicate-key-checker
- Fixed test case
2025-08-25 16:44:47 +03:00
Sveta Smirnova
d3172ce79c Merge pull request #993 from percona/dependabot/github_actions/actions/checkout-5
build(deps): bump actions/checkout from 4 to 5
2025-08-22 19:51:05 +03:00
Sveta Smirnova
63c49a9238 Merge pull request #994 from percona/dependabot/go_modules/k8s.io/api-0.33.4
build(deps): bump k8s.io/api from 0.33.3 to 0.33.4
2025-08-22 19:50:49 +03:00
utdrmac
01db562b10 some spelling mistake 2025-08-20 16:34:30 -05:00
utdrmac
059a6fb52c add test case 2025-08-20 16:20:12 -05:00
utdrmac
be598413ef add invisible option to pt-duplicate-key-checker 2025-08-20 16:06:16 -05:00
dependabot[bot]
768473f0b6 build(deps): bump k8s.io/api from 0.33.3 to 0.33.4
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.33.3 to 0.33.4.
- [Commits](https://github.com/kubernetes/api/compare/v0.33.3...v0.33.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 18:55:33 +00:00
Sveta Smirnova
b3bf266412 Merge pull request #990 from percona/dependabot/go_modules/golang.org/x/crypto-0.41.0
build(deps): bump golang.org/x/crypto from 0.40.0 to 0.41.0
2025-08-18 21:24:30 +03:00
dependabot[bot]
b9ef1bf23c build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 13:56:35 +00:00
Sveta Smirnova
4c369587a3 Merge pull request #991 from percona/typo_in_changelog_20250813
s/apostroph/apostrophe/
2025-08-13 18:02:15 +03:00
Sveta Smirnova
88bac7298c s/apostroph/apostrophe/ 2025-08-13 17:59:45 +03:00
Sveta Smirnova
702f837698 Merge pull request #988 from percona/PT-2052_Tools_should_default_to_unbuffered_stdout_stderr
Pt 2052 tools should default to unbuffered stdout stderr
2025-08-13 14:22:57 +03:00
dependabot[bot]
f68faa7591 build(deps): bump golang.org/x/crypto from 0.40.0 to 0.41.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.40.0 to 0.41.0.
- [Commits](https://github.com/golang/crypto/compare/v0.40.0...v0.41.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 12:31:58 +00:00
Sveta Smirnova
0b91854014 Merge pull request #982 from percona/PT-191_add_ssl_options_to_DSN
PT-191 - add ssl options to DSN
2025-08-06 16:30:28 +03:00
Sveta Smirnova
818051fa47 Merge pull request #984 from percona/PT-2469_version_cmp_is_binary_file
PT-2469 - version_cmp is binary file
2025-08-06 16:17:49 +03:00
Sveta Smirnova
51f40f2cbb PT-2052 - Tools should default to unbuffered stdout/stderr
- Added test case
2025-08-06 16:13:52 +03:00
Sveta Smirnova
e793c6991d Merge pull request #987 from percona/dependabot/go_modules/k8s.io/api-0.33.3
build(deps): bump k8s.io/api from 0.33.2 to 0.33.3
2025-08-05 19:49:24 +03:00
Sveta Smirnova
f8e885117d Merge pull request #986 from percona/dependabot/go_modules/github.com/alecthomas/kong-1.12.1
build(deps): bump github.com/alecthomas/kong from 1.12.0 to 1.12.1
2025-08-05 19:49:09 +03:00
Sveta Smirnova
734d6231c2 PT-2052 - Tools should default to unbuffered stdout/stderr
- Added option --[no]buffer-stdout, enabled by default
2025-08-05 18:24:01 +03:00
dependabot[bot]
969432c3fe build(deps): bump k8s.io/api from 0.33.2 to 0.33.3
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.33.2 to 0.33.3.
- [Commits](https://github.com/kubernetes/api/compare/v0.33.2...v0.33.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 12:59:56 +00:00
dependabot[bot]
efe3448f57 build(deps): bump github.com/alecthomas/kong from 1.12.0 to 1.12.1
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong) from 1.12.0 to 1.12.1.
- [Commits](https://github.com/alecthomas/kong/compare/v1.12.0...v1.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 12:52:42 +00:00
Sveta Smirnova
607f5a2188 Merge pull request #985 from percona/update_workflow_20250801
Updated workflow, so Trivy scanner tests would not fail. Trivial workflow fix, no need for additional review.
2025-08-01 02:21:35 +03:00
Sveta Smirnova
54b2fe9dd0 Updated workflow, so Trivy scanner tests would not fail 2025-08-01 02:18:06 +03:00
Sveta Smirnova
cda214696e Merge pull request #983 from nilnandan/PT-1718_Have_ptstalk_collect_performance_schema.threads_along_with_information_schema.processlist
PT-1718 - Have pt-stalk collect performance_schema.threads along with…
2025-08-01 02:07:47 +03:00
Sveta Smirnova
ac62ae9163 PT-2469 - version_cmp is binary file
- Replaced binary version_cmp file with Bash script
2025-07-31 22:49:50 +03:00
Sveta Smirnova
5100e9b1aa PT-191 - add ssl options to DSN
- Updated ssl tests, so they test option --mysql_ssl and DSN
2025-07-30 17:18:38 +03:00
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
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