Commit Graph

2168 Commits

Author SHA1 Message Date
Sveta Smirnova
4c03acb4ed Merge pull request #1062 from percona/PT-2220_pt-heartbeats_--check-read-only_option_behaves_strangely
PT-2220 - pt-heartbeat's --check-read-only option behaves strangely
2026-02-16 17:05:18 +03:00
Sveta Smirnova
84f96df600 Merge pull request #1055 from percona/PT-2503_pt-eustack-resolver_does_not_have_--version_option
Pt 2503 pt eustack resolver does not have   version option
2026-01-26 21:09:57 +03:00
Sveta Smirnova
0afd03e5eb PT-2220 - pt-heartbeat's --check-read-only option behaves strangely
- Created fix and test case
2026-01-22 19:29:40 +03:00
Sveta Smirnova
289bca047f PT-23 - ps files in pt-stalk samples disclose MySQL password
- Added a warning for cases when the user provides MySQL password on the
  command line
- Added test case
2026-01-16 16:08:31 +03:00
Sveta Smirnova
20e25a6fd0 PT-2503 - pt-eustack-resolver does not have --version option
- Cleaned warnings seen before
- Added test case
2026-01-15 20:08: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
Sveta Smirnova
7fbda157d8 RM-1554 - Percona Toolkit 3.7.1
- Added LOCALE settings to t/pt-mysql-summary/pt-mysql-summary_encryption.t
2025-12-09 17:34:12 +03:00
Sveta Smirnova
fef6e01fd5 RM-1554 - Percona Toolkit 3.7.1
- Added ANALYZE TABLE call to t/pt-table-checksum/samples/undef-arrayref-bug-995274.sql, so has less chances for sporadic failures
2025-12-09 17:11:20 +03:00
Sveta Smirnova
d7fc0f2d21 RM-1554 - Percona Toolkit 3.7.1
- Added SSL connection option to t/pt-table-checksum/run_time.t
2025-12-05 19:46:38 +03:00
Sveta Smirnova
17b3b66b54 RM-1554 - Percona Toolkit 3.7.1
- Added SSL connection option to t/pt-table-checksum/pt-1766.t
- Updated Changelog
2025-12-05 18:06:31 +03:00
Sveta Smirnova
8918850389 Merge pull request #1039 from percona/PT-2498_pt-sift_does_not_work_starting_from_version_3.7.0
PT-2498 - pt-sift does not work starting from version 3.7.0
2025-12-03 16:34:03 +03:00
Sveta Smirnova
b95730100b Merge pull request #1038 from percona/PT-2497_pt-2052.t_fails_in_December
PT-2497 - t/pt-table-checksum/pt-2052.t fails in December
2025-12-03 16:33:41 +03:00
Sveta Smirnova
0f0e1fb284 Merge pull request #1036 from percona/PT-2250_pt-table-checksum_reports_error_if_recursion_method_is_DSN
Pt 2250 pt table checksum reports error if recursion method is dsn
2025-12-03 16:33:25 +03:00
Sveta Smirnova
daac29c3a7 Merge pull request #1035 from percona/PT-2495_replication_filters.t_fails_on_Debian-based_distributions
PT-2495 - t/pt-table-checksum/replication_filters.t fails on Debian-b…
2025-12-03 16:33:05 +03:00
Sveta Smirnova
380a8085de PT-2498 - pt-sift does not work starting from version 3.7.0
- Added missed module into the tool
- Modified test case, so it tests if this interactive tool works, so we
  do not miss cases like this in the future
2025-12-01 16:21:11 +03:00
Sveta Smirnova
1476171e09 PT-2497 - t/pt-table-checksum/pt-2052.t fails in December
- Adjusted formula for timelocal in the test file
2025-12-01 14:59:51 +03:00
Sveta Smirnova
c6c352023a PT-2250 - pt-table-checksum reports error if recursion method is DSN
- Adjusted t/lib/MasterSlave.t, so it reflects new API in lib/MasterSlave.pm
2025-11-27 23:53:38 +03:00
Sveta Smirnova
d835d8c4f4 PT-2250 - pt-table-checksum reports error if recursion method is DSN
- Removed unrelated comments and spaces
2025-11-27 20:16:41 +03:00
Sveta Smirnova
70bd9164f8 Merge pull request #1034 from percona/PT-2494_pt-2052.t_fails_with_SSL_error
PT-2494 - t/pt-table-checksum/pt-2052.t fails with SSL error
2025-11-26 00:08:44 +03:00
Sveta Smirnova
2b350d908e PT-2250 - pt-table-checksum reports error if recursion method is DSN
- We are now setting parent to current source server in get_cxn_from_dsn_table
2025-11-25 17:00:12 +03:00
Sveta Smirnova
ba4f650fad PT-2495 - t/pt-table-checksum/replication_filters.t fails on Debian-based distributions
- Specified locale for the sort operation
2025-11-24 17:52:35 +03:00
Sveta Smirnova
b6df68eb35 Merge pull request #1030 from percona/PT-2492_t_pt-online-schema-change_pt-200.t_fails_after_fix_for_PT-1151
PT-2492 t/pt/online_schema_change/pt-200.t fails after fix for pt-1151
2025-11-24 16:59:20 +03:00
Sveta Smirnova
49b4293207 PT-2494 - t/pt-table-checksum/pt-2052.t fails with SSL error
- Added option s=1 to DSNs
2025-11-24 13:16:00 +03:00
Sveta Smirnova
1b1fc5ba35 Merge pull request #1031 from percona/PT-2493_pt-pmp.t_fails_on_Debian_distributions
PT-2493 - t/pt-pmp/pt-pmp.t fails on Debian distributions
2025-11-24 13:07:51 +03:00
Sveta Smirnova
5dbef38fa1 PT-2493 - t/pt-pmp/pt-pmp.t fails on Debian distributions
- Specified locale in the test
2025-11-21 23:55:31 +03:00
Sveta Smirnova
dcc1cff519 PT-2492 - t/pt-online-schema-change/pt-200.t fails after fix for PT-1151
- Added s=1 to tests for SSL support in 8.4
2025-11-21 23:12:36 +03:00
Sveta Smirnova
f3a2f9d2fe PT-2489 - t/pt-mext/pt-mext.t fails on Debian-based platforms
- Add sort to the RSA test too
2025-11-20 23:18:48 +03:00
Sveta Smirnova
032eac7dc0 PT-2489 - t/pt-mext/pt-mext.t fails on Debian-based platforms
- Changed locale C to en_US.utf8. Added LANG=en_US.utf8 to keep sort
  working on our AMIs and kept LOCALE=en_US.utf8 to keep fix for PT-2149
2025-11-20 23:14:05 +03:00
Sveta Smirnova
64ced79f7d Merge pull request #1005 from percona/PT-2289_Allow_pt-stalk_do_disable_ps-lock-transactions_data_collection_via_parameter
Pt 2289 allow pt stalk do disable ps lock transactions data collection via parameter
2025-09-16 13:40:22 +03:00
Sveta Smirnova
2dbdb8642b Merge pull request #1006 from percona/PT-1151_LP_1225577_pt-online-schema-change_can_silently_drop_rows
PT-1151 - LP #1225577: pt-online-schema-change can silently drop rows
2025-09-12 14:25:42 +03:00
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
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
20b3196cda PT-1151 - LP #1225577: pt-online-schema-change can silently drop rows
- Found case when --check-unique-index-change does not catch error:
  UNIQUE without KEY or INDEX keyword and fixed regular expression
2025-09-08 02:26:30 +03:00
Sveta Smirnova
919970abe9 PT-2289 - Allow pt-stalk do disable ps-lock-transactions data collection via parameter
- Modified t/pt-stalk/pt-stalk.t, so it calls function purge_samples with the correct number of parameters
- Fixed purge_samples, so it can work if variable OPT_PREFIX is not defined
2025-09-07 01:34:05 +03:00
Sveta Smirnova
cdc24c10f0 PT-2289 - Allow pt-stalk do disable ps-lock-transactions data collection via parameter
- Implemented _should_skip function as was suggested
2025-09-05 16:08:43 +03:00
Sveta Smirnova
66d20ae6da PT-2289 - Allow pt-stalk do disable ps-lock-transactions data collection via parameter
- Adjusted the implementation
- Created test cases
2025-09-03 00:41:06 +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
68a4540a3d PT-2289 - Allow pt-stalk do disable ps-lock-transactions data collection via parameter
- Implemented feature
- Started working on the test
2025-09-01 18:17:04 +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
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
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
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