Commit Graph

5830 Commits

Author SHA1 Message Date
Sveta Smirnova
cd6183dbcc Merge pull request #1014 from percona/PT-2346_t/pt-table-sync/specify_column_or_index.t_fails_with_5.7
PT-2346 - t/pt-table-sync/specify_column_or_index.t fails with 5.7
2025-09-12 14:22:44 +03:00
Sveta Smirnova
2ac8385d2d Merge pull request #1012 from nilnandan/PT-2014-pt-config-diff_does_not_honor_case_insensitivity_flag
PT-2014 - Updated MySQLConfigComparer.pm so now it can honor case insensitivity…
2025-09-10 18:16:33 +03:00
Sveta Smirnova
128dc2938e Merge pull request #1011 from percona/PT-2470_pt-table-sync_supports_recursion_methods_dsn_and_cluster_but_documentation_does_not_mention_it
PT-2470 - pt-table-sync supports recursion methods dsn and cluster bu…
2025-09-10 18:15:47 +03:00
Sveta Smirnova
f550652dbf PT-2014 - pt-config-diff does not honor case insensitivity flag
- Fixed the proposed fix
- Fixed proposed configuration files
- Added test case
2025-09-09 19:25:13 +03:00
Sveta Smirnova
fef02540fe PT-2346 - t/pt-table-sync/specify_column_or_index.t fails with 5.7
- Adjusted regular expression, so it is independent from randomness of the query plan calculation by EXPLAIN: we test if specified index or column used, not the range of values.
2025-09-09 16:10:45 +03:00
nilnandan
4e190a34ef Updated MySQLConfigComparer.pm so now it can honor case insensitivity. cnf1 and cnf2 are test files. 2025-09-08 14:12:12 +00:00
Sveta Smirnova
4388b4f54f Merge pull request #1007 from percona/dependabot/go_modules/k8s.io/api-0.34.0
build(deps): bump k8s.io/api from 0.33.4 to 0.34.0
2025-09-08 15:29:31 +03:00
Sveta Smirnova
9c98f75ce8 Merge pull request #1008 from percona/dependabot/go_modules/github.com/stretchr/testify-1.11.1
build(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1
2025-09-08 15:29:17 +03:00
Sveta Smirnova
656a49f011 Merge pull request #1010 from percona/dependabot/github_actions/aquasecurity/trivy-action-0.33.1
build(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.1
2025-09-08 15:29:02 +03:00
Sveta Smirnova
21fd4f7b90 PT-2470 - pt-table-sync supports recursion methods dsn and cluster but documentation does not mention it
- Updated documentation for the option --recursion-method
- I did not mention cluster, because pt-table-sync does not make sense with the cluster
- Test case for the --recursion-method=dsn is in ssl.t
2025-09-08 15:27:20 +03:00
dependabot[bot]
427a83ce6d build(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.1
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.32.0 to 0.33.1.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.32.0...0.33.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:19:53 +00:00
dependabot[bot]
3149c89fa8 build(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.11.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:17:59 +00:00
dependabot[bot]
01fb9b5278 build(deps): bump k8s.io/api from 0.33.4 to 0.34.0
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.33.4 to 0.34.0.
- [Commits](https://github.com/kubernetes/api/compare/v0.33.4...v0.34.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:15:57 +00:00
Sveta Smirnova
2ee29986db Merge pull request #1001 from percona/PT-2459_Mention_pt_repo_for_percona-toolkit_installation
PT-2459 - Mention "pt" repo for percona-toolkit installation
2025-09-02 14:57:02 +03:00
Sveta Smirnova
2b5ceb9fee Merge pull request #1002 from Shopify/PT-2015_fix_comparing_unsorted_flags
PT-2015 Fix pt-config-diff not sorting flags
2025-09-02 14:56:24 +03:00
Sveta Smirnova
c5c6bf34c6 Merge pull request #1003 from percona/PT-2305_pt-online-schema-change_should_error_if_server_is_a_slave_in_row_based_replication
PT-2305 - pt-online-schema-change should error if server is a slave in row based replication
2025-09-02 14:55:48 +03:00
Sveta Smirnova
0e3a18c378 Merge pull request #1004 from percona/PT-2322_pt-mysql-summary_does_not_detect_jemalloc
PT-2322 - pt-mysql-summary does not detect jemalloc.
2025-09-02 14:45:19 +03:00
Sveta Smirnova
0d0e7210f7 PT-2322 - pt-mysql-summary does not detect jemalloc.
- Added fix and test case. Fix checks for end of word (space or newline) instead of space.
2025-08-29 15:09:12 +03:00
Sveta Smirnova
699b28d2a3 PT-2305 - pt-online-schema-change should error if server is a slave in row based replication
- Removed use Data::Dumper
2025-08-29 13:52:09 +03:00
Sveta Smirnova
b30f10103a PT-2459 - Mention "pt" repo for percona-toolkit installation
- Added "release" to the command
2025-08-29 13:50:06 +03:00
Sveta Smirnova
05b7efcd27 Merge pull request #1000 from percona/PT-2471_Link_to_the_repository_documentation_is_broken
PT-2471 - Link to the repository documentation is broken
2025-08-29 01:35:54 +03:00
Sveta Smirnova
ab620a6707 PT-2305 - pt-online-schema-change should error if server is a slave in row based replication
- Implemented fix and test case
- Updated documentation
2025-08-29 01:33:18 +03:00
Hartley McGuire
47f7638d60 PT-2015 Fix pt-config-diff not sorting flags
Previously, flags would be compared in the exact order they are output
by MySQL, which can result in false negatives if the input ordering does
not match.

Example from the ticket:

```
[root@avvr-dbm51 ~]# pt-config-diff /etc/my.cnf h=localhost,P=3047
1 config difference
Variable                  /etc/my.cnf  avvr-dbm51
========================= ============ ============
myisam_recover_options    FORCE,BACKUP BACKUP,FORCE
```

This commit fixes the issue by sorting the flags before comparison to
ensure that any ordering differences will not report a diff.

Co-authored-by: Jonathan Gnagy <jonathan@therubyist.org>
2025-08-27 16:12:27 +00:00
Sveta Smirnova
3173362d8e PT-2459 - Mention "pt" repo for percona-toolkit installation
- Updated documentation
2025-08-27 02:42:07 +03:00
Sveta Smirnova
bca6c5bee8 Merge pull request #998 from percona/dependabot/go_modules/github.com/stretchr/testify-1.11.0
build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0
2025-08-26 21:41:04 +03:00
Sveta Smirnova
dcab1bb2ad PT-2471 - Link to the repository documentation is broken
- Fixed the link
2025-08-26 21:39:25 +03:00
Sveta Smirnova
6854715795 Merge pull request #891 from ehooi/PT-2401
PT-2401 - remove check to fix the 'table does not exist' problem when lower_case_table_names=2 is set
2025-08-26 19:44:15 +03:00
Sveta Smirnova
6414d071cd Merge pull request #997 from percona/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
PT-2467 - t/pt-show-grants/basics.t t/pt-table-checksum/basics.t t/pt…
2025-08-26 19:43:51 +03:00
Sveta Smirnova
c1d3ebc72a Merge pull request #995 from percona/PT-2435_t_pt-online-schema-change_pt-1717-resume.t_fails_after_PT-2355_fix
PT-2435 - t/pt-online-schema-change/pt-1717-resume.t fails after PT-2…
2025-08-26 19:43:32 +03:00
Sveta Smirnova
670f4d159b Merge pull request #992 from percona/PT-1423_LP_1682929_pt-table-checksum_First_chunk_takes_too_long
PT-1423 - LP #1682929: pt-table-checksum: First chunk takes too long
2025-08-26 19:43:16 +03:00
Sveta Smirnova
a0dffc51e4 Merge pull request #989 from agejevasv/fix-precedence-error
Fix script crashing with precedence error
2025-08-26 19:43:00 +03:00
Sveta Smirnova
9e799fd04b Merge pull request #981 from Nyele93/PT-2465_patch_fix_for_mariadb_10.5_above
PT-2465 patch fix for erroneous flavour mismatch in mariadb-10.5.x and above
2025-08-26 19:42:44 +03:00
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
dependabot[bot]
c85ad15e3c build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 15:24:28 +00: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
9bb3ab4cbc PT-2440 - Support for MariaDB 10.5
- Added sandbox defaults for MariaDB 11.3
2025-08-23 03:41:22 +03:00
Sveta Smirnova
495869da3e PT-2440 - Support for MariaDB 10.5
- Updated non-libraries code in bin/pt-heartbeat, bin/pt-replica-restart, and bin/pt-slave-delay
- Adjusted lib/Sandbox.pm, so it does not require SSL for MariaDB
- Adjusted test case, so it is in line with other tests
2025-08-23 03:32:33 +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
Sveta Smirnova
4154acadc1 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
- Updated tests and results failed due to new percona.telemetry user
2025-08-22 18:38:07 +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
Sveta Smirnova
d60ffe0654 PT-2435 - t/pt-online-schema-change/pt-1717-resume.t fails after PT-2355 fix
- Fixed code that incorrectly stored boundaries
2025-08-18 21:22:41 +03:00
Nyele93
a97c422851 PT-2465 patch fix for erroneous flavour mismatch in mariadb-10.5.x and above. This patch includes the fixed regex for checking DB flavour to include the case-insensitive marker i on the searches for MariaDB 2025-08-18 17:42:10 +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
Nyele
6c9deb9d66 Merge branch 'percona:3.x' into PT-2465_patch_fix_for_mariadb_10.5_above 2025-08-18 14:44:30 +03:00