Commit Graph

2032 Commits

Author SHA1 Message Date
Sveta Smirnova
e8a09c62a3 Fixed wait_for_slaves in t/pt-table-sync/master_master.t, so it instructs master1 to wait when master2 is up-to-date 2024-06-07 22:12:44 +03:00
Sveta Smirnova
aaa258d209 Added master server restart in the cleanup for t/pt-online-schema-change/pt-2168-cancel.t test, so next test is not affected by not properly closed connections in 5.7 2024-06-07 22:12:44 +03:00
Sveta Smirnova
8dd0f28f64 Removed extra spaces in lsof output, so mysql_pid detection does not depend on lsof format 2024-06-07 22:12:44 +03:00
Sveta Smirnova
5e72127ebf Merge branch 'release-v3.6.0' of github.com:percona/percona-toolkit into release-v3.6.0 2024-06-07 22:12:44 +03:00
Sveta Smirnova
8aecd2bf09 Adjusted t/pt-table-checksum/samples/default-results-5.7.txt to skip unstable results 2024-06-07 22:12:23 +03:00
Sveta Smirnova
dd1e9aeac3 Adjusted t/pt-table-checksum/samples/default-results-5.7.txt to skip unstable results 2024-06-07 22:11:35 +03:00
Sveta Smirnova
1774b856be PT-2264 - pt-query-digest Pipeline process 11 (--output slowlog) caused an error: Wide character
- Skipped test for versions before 8.0
2024-05-30 03:48:14 +03:00
Sveta Smirnova
f8d2f59e62 PT-2119 - pt-osc aborts in 8.0.15 even if no FK exists
- Adjusted test case, so it is skipped on 5.7
2024-05-30 03:38:20 +03:00
Sveta Smirnova
a8258bf784 PR-471 - Support adding explain output for slow query in JSON report as well
- Removed paths from my laptop from tests
2024-05-25 15:04:11 +03:00
Sveta Smirnova
acc0d495d2 Typo in t/lib/bash/collect.t, causing test failure on Bookworm 2024-05-24 11:49:05 +03:00
Sveta Smirnova
a74cf58799 Merge pull request #686 from percona/pt-2247
Pt 2247
2024-05-21 17:30:08 +03:00
Sveta Smirnova
f3f4943d52 PT-2247 - pt-show-grants does not CREATE USER
- Removed option print_identified_with_as_hex, because it was already
  implemented in the PT-2190 fix
- Simplified patch
- Kept CREATE USER/ALTER USER sequence and extra DELETE from mysql.user
  table
- Added test case
2024-05-17 02:34:53 +03:00
Sveta Smirnova
32cfc53d9d PT-2154 - Fix tests for pt-table-sync
- Removed debug output from t/pt-table-sync/issue_920.t
- Removed debug output from t/pt-table-sync/issue_996.t
2024-05-16 02:30:49 +03:00
Sveta Smirnova
fdc0597e55 PT-2154 - Fix tests for pt-table-sync
- Removed diagnostic output from t/pt-table-sync/issue_996.t
- Corrected character set options in t/pt-table-sync/samples/pt-1205.sql
2024-05-16 02:04:40 +03:00
Sveta Smirnova
e2ca142baa PT-2154 - Fix tests for pt-table-sync
- Removed junk comment from t/pt-table-sync/pt-2309.t
- Re-enabled t/pt-table-sync/issue_96.t in 8.0+
- Re-enabled tests in t/pt-table-sync/pt-1256.t in 8.0.14+
- Re-enabled t/pt-table-sync/master_master.t in 8.0+
- Re-enabled t/pt-table-sync/lock_and_rename.t in 8.0+
- Re-enabled t/pt-table-sync/issue_965.t
- Added proper disable comments into t/pt-table-sync/issue_920.t and t/pt-table-sync/issue_996.t
2024-05-15 19:31:27 +03:00
Sveta Smirnova
75d534954a PT-2190 - pt-show-grants should use print_identified_with_as_hex
- Implemented the fix
- Added test case
2024-04-26 02:22:24 +03:00
Sveta Smirnova
6632ccc044 Merge branch '3.x' into PT-2309_pt-table-sync_hits_an_error_when_the_primary_key_is_uuid_binary 2024-04-18 13:16:19 +03:00
Sveta Smirnova
18d4fe9183 Merge pull request #797 from percona/PT-2327_pt-mysql-summary_fails_to_connect_if_password_has_a_single_quote_character
PT-2327 - pt-mysql-summary fails to connect if password has a single …
2024-04-18 13:15:11 +03:00
Sveta Smirnova
eac0b21407 PT-2309 - pt-table-sync hits an error when the primary key is uuid binary
- Implemented fix for the "Cannot nibble" error
- Added test case
2024-04-16 14:24:04 +03:00
Sveta Smirnova
c5cafbb486 PT-2231 - pt-osc + PTDEBUG=1 fails with Use of uninitialized value in concatenation (.) or string at ./pt-online-schema-change line 4309.
- Re-implemented fix for PT-1799 properly
- Added test case
- Updated modules
2024-04-11 21:47:11 +03:00
Sveta Smirnova
841ddb2edc PT-2327 - pt-mysql-summary fails to connect if password has a single quote character
- Implemented the fix
- Added test case
- Run update-modules
2024-04-11 14:38:28 +03:00
Sveta Smirnova
b15337dd97 Merge pull request #793 from percona/PT-1194_pt-table-sync_port_problem
PT-1194 - LP #1266896: pt-table-sync port problem
2024-04-11 14:03:16 +03:00
Sveta Smirnova
a9a4bc5b6c Merge pull request #792 from percona/PT-2119_pt-osc_aborts_in_8.0.15_even__if_no_FK_exists
PT-2119 - pt-osc aborts in 8.0.15 even if no FK exists
2024-04-08 18:40:11 +03:00
Sveta Smirnova
50bc80c243 Merge pull request #783 from percona/PT-1717_resume_pt-online-schema-change_if_interrupted
PT-1717 resume pt-online-schema-change if interrupted
2024-04-08 18:39:17 +03:00
Sveta Smirnova
02664694e2 PT-1194 - LP #1266896: pt-table-sync port problem
- Implemented the fix
- Added test case
2024-04-06 12:37:59 +03:00
Sveta Smirnova
c87a5da5ba PT-2119 - pt-osc aborts in 8.0.15 even if no FK exists
- Moved check after we identified child tables
- Added test case
2024-04-01 23:36:54 +03:00
Sveta Smirnova
b78c94e826 Merge pull request #784 from percona/PT-2313_pt-diskstat_fails_with_new_kernels_again
PT-2313 - pt-diskstat fails with new kernels again
2024-03-29 10:48:46 +03:00
Sveta Smirnova
e946d26a45 Merge pull request #788 from percona/PT-2264_pt-query-digest_Pipeline_process_11_--output_slowlog_caused_an_error_Wide_character
PT-2264 - pt-query-digest Pipeline process 11 (--output slowlog) caused an error: Wide character
2024-03-29 10:48:16 +03:00
Sveta Smirnova
c8e30e6cc3 Merge pull request #789 from percona/PT-2284_pt-kill_3.5.5_Wide_character_in_printf_at_usr_bin_pt-kill_line_7553
PT-2284 - pt-kill 3.5.5: "Wide character in printf at /usr/bin/pt-kill line 7553."
2024-03-29 10:47:58 +03:00
Sveta Smirnova
d68f56c924 PT-2284 - pt-kill 3.5.5: "Wide character in printf at /usr/bin/pt-kill line 7553."
- Set binmode to utf8 for the Daemon log files
- Added test case
- Run update-modules
2024-03-23 03:23:48 +03:00
Sveta Smirnova
f95ebca732 PT-2282 - pt-duplicate-key-checker give a "Wide character in print" warning
- Two more checks for the test case
2024-03-22 03:21:24 +03:00
Sveta Smirnova
595a3d261c PT-2282 - pt-duplicate-key-checker give a "Wide character in print" warning
- Added test case
2024-03-22 03:13:26 +03:00
Sveta Smirnova
37ca3d2d49 PT-1205 - LP #1275034: pt-table-sync reports 'wide character in print' and terminates
- Added binmode :utf8 for STDERR
- Added test case for PT-1205
- Run update-modules
2024-03-22 01:42:14 +03:00
Sveta Smirnova
1ad44e04da PT-2264 - pt-query-digest Pipeline process 11 (--output slowlog) caused an error: Wide character
- Updated lib/DSNParser.pm, so it sets binmode to character set utf8 since
  MySQL 8.0 if character set is not specified in the DSN
- Added test case
- Run update-modules
2024-03-21 13:01:03 +03:00
Sveta Smirnova
13fff8382e PT-2313 - pt-diskstat fails with new kernels again
- Added forgotten sample file
2024-03-18 14:43:36 +03:00
Sveta Smirnova
e9fab37367 PT-2275 - "System Summary" graph breaks when perl is not available (OS summary dashboard)
- Added check for Perl binary in lib/bash/parse_options.sh
- Updated tools
- Updated t/lib/bash/parse_options.sh, so it includes required package alt_cmds.sh
2024-03-18 14:27:11 +03:00
Sveta Smirnova
2df691d913 PT-2313 - pt-diskstat fails with new kernels again
- Ported fix for PT-1887
- Added test case
2024-03-15 19:15:51 +03:00
Sveta Smirnova
e9ec7213f4 Merge pull request #769 from percona/PT-2295_Fix_tests_on_distributions
PT-2295 - fix tests on distributions
2024-03-15 16:24:29 +03:00
Sveta Smirnova
57e4008a2f PT-1717 - resume pt-online-schema-change if it's interrupted
- dash in options --no-drop-new-table and --no-drop-triggers
2024-03-14 22:19:16 +03:00
Sveta Smirnova
2d4f5c290a PT-1717 - resume pt-online-schema-change if it's interrupted
- Now --resume dies if new table or triggers do not exist
- New table and triggers are not removed if --resume fails during these
  checkups
- Added sample file and more tests for --resume
2024-03-14 21:20:50 +03:00
Sveta Smirnova
8ce3b94a1c PT-1717 - resume pt-online-schema-change if it's interrupted
- Added test case for failures and recovery
- Implemented option --resume
2024-03-05 18:46:14 +03:00
Sveta Smirnova
a111ed0b70 PT-1717 - resume pt-online-schema-change if it's interrupted
- Updating lower and upper boundaries in the history table
2024-02-28 18:25:39 +03:00
Sveta Smirnova
c8c1b2483a PT-1717 - resume pt-online-schema-change if it's interrupted
- Insert row with Job ID into the history table
- Update job row with progress, set 'done' to 'yes' when finished
  succesfully
2024-02-27 18:08:41 +03:00
Sveta Smirnova
ab6e5aa1bb PT-1717 - resume pt-online-schema-change if it's interrupted
- Added options --history, --history-table, and --binary-index
- Added code that creates history table to store pt-osc progress
2024-02-20 20:08:20 +03:00
Sveta Smirnova
f46aad842b PT-2295 - Fix tests on distributions
- Fixed test t/pt-table-sync/specify_column_or_index.t, because we
  cannot use exact numbers when pt-osc relies on the EXPLAIN output.
2024-02-14 14:53:00 +03:00
Sveta Smirnova
19c740084f PT-2295 - Fix tests on distributions
- Found that TIMESTAMP columns in mysql database make last tests in
  t/pt-table-checksum/basics.t unstable, filtering them from the diff.
2024-02-13 20:03:32 +03:00
Sveta Smirnova
f136116826 PT-2295 - Fix tests on distributions
- Added test result adjustment on slow machines for
  t/lib/bash/collect.sh, because no other solution worked
- Updated modules for all tools
2024-02-13 20:03:32 +03:00
Sveta Smirnova
19baa34872 PT-2295 - Fix tests on distributions
- Fixed sporadic pt-tc failures on rolled back SHOW MASTER STATUS code
- Added better diagnostic info for sporadically failing t/pt-table-checksum/basics.t
- Decreased chunk size it t/pt-table-checksum/progress.t, so this test
  has less chances to fail, because pt-osc finishes faster than expected
2024-02-13 20:03:32 +03:00
Sveta Smirnova
9819736156 PT-2295 - Fix tests on distributions
- disabled test 'Single column int key' in 8.0.35+ until
  https://bugs.mysql.com/bug.php?id=113892 is fixed
- Fixed data for 'Two column int key' test
2024-02-13 20:03:32 +03:00
Sveta Smirnova
a2209da449 PT-2295 - Fix tests on distributions
- Typos in pt-kill
2024-02-13 20:03:32 +03:00