2571 Commits

Author SHA1 Message Date
Sveta Smirnova
a4c2fd3496 PT-1194 - LP #1266896: pt-table-sync port problem
- Fixed typos
2024-04-06 12:46:55 +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
dc8f50bb00 Merge pull request #787 from percona/PT-2275_System_Summary_graph_breaks_when_perl_is_not_available_OS_summary_dashboard
PT-2275 - "System Summary" PMM graph breaks when perl is not available
2024-03-28 17:16:58 +03:00
Sveta Smirnova
8d0f14c180 Merge pull request #790 from sleto-it/3.x
Alerted instead of altered - fix pt-online-schema-change doc
2024-03-26 13:57:26 +03:00
Santo
100e9ab5a2 alerted instead of altered - fix pt-online-schema-change doc 2024-03-25 17:11:27 +00: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
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
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
9762104f1e PT-1911 - pt-online-schema-change can't use options port
- Reverted typo introduced by 4fc3d9fd1f
2024-03-16 02:08: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
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
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
d07d6c00ff PT-2295 - Fix tests on distributions
- t/pt-online-schema-change/pt-169.t failure on CentOS7 and potential
  failures on other platforms, because cleanup did not propagate
  original error code
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
Sveta Smirnova
be880d82d7 Merge pull request #762 from percona/PT-1751_adds_--where_param_to_pt-online-schema-change
PT-1751 - adds --where param to pt-online-schema-change
2024-02-05 13:56:16 +03:00
Sveta Smirnova
325809e86f PT-2295 - Fix tests on distributions
- Added regular expressions that match MariaDB Connector/C syntax for
  errors 2006 (Server has gone away) and 2013 (Lost connection)
2024-02-01 22:10:32 +03:00
Sveta Smirnova
7369476a8d PT-2295 - Fix tests on distributions
- Fixed typo in has_rocksdb variable assignment in lib/bash/report_mysql_info.sh
- Added cleanup to pt-stalk tests
2024-02-01 13:54:47 +03:00
Sveta Smirnova
cf255e01e4 Merge pull request #140 from akopytov/2.2
Add CPU cache configuration info to pt-summary.
2024-01-30 23:03:57 +03:00
Sveta Smirnova
cbc00ad761 PT-1751 - adds --where param to pt-online-schema-change
- Option --where added
- Added test case
2024-01-30 17:55:15 +03:00
Sveta Smirnova
67ed03dbf4 Merge pull request #754 from percona/port_improved_pt-pmp
Port improved pt-pmp
2024-01-29 13:12:37 +03:00
Sveta Smirnova
5b67e5a390 Port improved pt-pmp
- Updated error messages when eu-stack and/or pt-eustack-resolver tools
  are not found
2024-01-29 13:08:50 +03:00
Sveta Smirnova
3fa1d8dfed PR-160 - added support for operf if present, and if CMD_OPCONTROL is not set
- Added back support for CMD_OPCONTROL
2024-01-26 16:39:26 +03:00
Sveta Smirnova
5ca0e8a898 PR-160 - added support for operf if present, and if CMD_OPCONTROL is not set
- Made PR actually working
2024-01-26 01:01:23 +03:00
Sveta Smirnova
8e3ce6c74f Merge branch '3.x' into HEAD 2024-01-25 01:50:05 +03:00
Sveta Smirnova
1036b5768a PR-140 - Add CPU cache configuration info to pt-summary
- Merge branch '3.x' into HEAD
- Move code to the proper place: library files
- Fix tests
2024-01-25 01:41:20 +03:00
Sveta Smirnova
36ad59d8b7 Port improved pt-pmp
- Variable scope fixes
2024-01-23 14:04:08 +03:00
Sveta Smirnova
4581f12592 Port improved pt-pmp
- Suggestions by Evgeniy
2024-01-22 18:52:22 +03:00
Sveta Smirnova
48f062b37d Update copyright to 2024
- Added option ONLY_UPDATE_COPYRIGHT_YEAR to util/build-packages
- Fixed update_copyright_year function in util/build-packages, so it
  works again
- Updated copyright year for tools and docs/percona-toolkit.pod
2024-01-18 21:03:18 +03:00
Sveta Smirnova
4e3b5f2d08 Port improved pt-pmp
- Made --readnever for gdb optional
- Re-arranged code, related to dumper selection
2024-01-18 19:01:38 +03:00
Sveta Smirnova
83ba87cc0c Port improved pt-pmp
- Updated documentation for pt-eustack-resolver and pt-pmp
- Added pt-eustack-resolver, pt-pmp and other missed tools into docs/percona-toolkit.pod
- Removed quickstack support from pt-pmp. We do not need to port this
  improvement, because quickstack is not actively developed and does not
  create useful stack traces for Percona Server for MySQL 8.0.
2024-01-18 02:57:03 +03:00
Sveta Smirnova
56eea61dae Port improved pt-pmp
Initial port of https://github.com/Percona-Lab/pt-pmp:
- Added bin/pt-eustack-resolver
- Ported changes to bin/pt-pmp
2024-01-17 02:26:07 +03:00
Sveta Smirnova
5e7e66fd82 Update bin/pt-online-schema-change 2023-12-29 18:32:11 +03:00
Sveta Smirnova
f3a9a0df0f Merge branch '3.x' into HEAD 2023-12-29 17:20:01 +03:00
Satoshi Mitani
14facac3bf PT-2100 - fixed a bug where --alter-foreign-keys-method=none does not work due to Wide character error 2023-12-29 17:19:43 +03:00
Sveta Smirnova
f189f8382e Revert "PT-2083 - Pt-archiver --charset option is not working for MySQL8.0"
This reverts commit 284a1f945e.
2023-12-29 17:19:41 +03:00
Sveta Smirnova
f1d431ee50 PT-2083 - Pt-archiver --charset option is not working for MySQL8.0
- Changed logic, introduced by commit 1d1c13fbcb
- Added test case
2023-12-29 17:19:41 +03:00
Sveta Smirnova
6b595cb3db Merge pull request #721 from oblitorum/PT-2277_impossible_on_condition
PT-2277 - fix pt-visual-explain for 'Impossible ON condition' case
2023-12-29 17:19:41 +03:00
Sveta Smirnova
e71736c2d9 Merge pull request #706 from percona/Follow_PR-429_unstop_option_with_testcase
Follow PR-429 unstop option with testcase
2023-12-29 17:19:41 +03:00
Sveta Smirnova
5b61ec79b5 Version and release notes updated 2023-12-22 23:34:57 +03:00