Commit Graph

2634 Commits

Author SHA1 Message Date
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
Sveta Smirnova
bab154be03 Updated modules and version 2023-12-22 23:11:31 +03:00
Sveta Smirnova
55171b2a4a Merge pull request #729 from percona/PT-2268-pt-online-schema-change_3.5.5_breaks_on_mysql5.7_with_server_id_0
PT-2268 - pt-online-schema-change 3.5.5 breaks on mysql5.7 with serve…
2023-12-22 23:11:31 +03:00
Sveta Smirnova
643113540f PT-2268 - pt-online-schema-change 3.5.5 breaks on mysql5.7 with server_id 0
- Better check if server_id is defined
- Added test case
2023-12-22 23:11:31 +03:00
Sveta Smirnova
fa41e20e83 PT-2083 - Pt-archiver --charset option is not working for MySQL8.0
- Run util/update-modules
2023-12-22 23:11:31 +03:00
Sveta Smirnova
9b347dd466 Revert "PT-2083 - Pt-archiver --charset option is not working for MySQL8.0"
This reverts commit 284a1f945e.
2023-12-22 23:11:31 +03:00
Sveta Smirnova
cadf35abc4 PT-2083 - Pt-archiver --charset option is not working for MySQL8.0
- Changed logic, introduced by commit 1d1c13f
- Added test case
2023-12-22 23:11:31 +03:00
Sveta Smirnova
1682aa202c PT-2083 - Pt-archiver --charset option is not working for MySQL8.0
- Changed logic, introduced by commit 1d1c13fbcb
- Added test case
2023-12-22 23:11:31 +03:00
Sveta Smirnova
57886d5665 Merge pull request #721 from oblitorum/PT-2277_impossible_on_condition
PT-2277 - fix pt-visual-explain for 'Impossible ON condition' case
2023-12-22 23:11:31 +03:00
Sveta Smirnova
a4cf465087 Merge pull request #706 from percona/Follow_PR-429_unstop_option_with_testcase
Follow PR-429 unstop option with testcase
2023-12-22 23:11:31 +03:00
Jason
b2b6311723 PT-2277 - fix pt-visual-explain for 'Impossible ON condition' case 2023-11-29 02:30:44 +08:00
Sveta Smirnova
9f5fc7e50a Merge pull request #388 from cswingler/check_undefined_skip_check_slave_lag_schema_change
Check undefined skip check slave lag schema change

Contirbutor signed corporate SLA as stated in https://github.com/percona/percona-toolkit/pull/230#issuecomment-308564024
2023-11-12 23:31:30 +03:00
Sveta Smirnova
be2310f2b3 Merge pull request #471 from perfectayush/support-query-explain-in-json-output
Support adding explain output for slow query in JSON report as well
2023-11-12 23:28:49 +03:00
Sveta Smirnova
00149ab10a Merge pull request #516 from ikruglov/PT-1860-pt-osc-case-insensitive
PT-1860 make pt-osc respect case insesitive lookup on Windows and osx
2023-11-12 23:28:35 +03:00
Sveta Smirnova
2b440638c4 Merge pull request #604 from mikrobi/patch-1
Only rollback destination if it's defined
2023-11-12 23:28:13 +03:00
Sveta Smirnova
cfb1065278 Merge pull request #628 from baotiao/PT-2211_ptpmp_return_error_line
PT-2211 This pstack return error code line number
2023-11-12 23:27:58 +03:00
Sveta Smirnova
52cc6c11de Follow PR-429 unstop option with testcase
- Review by Evgeniy - print path to the sentinel file in case of error
2023-11-12 23:26:14 +03:00
Sveta Smirnova
3e1e9b8425 PT-1860 make pt-osc respect case insesitive lookup on Windows and osx #516
- Run update-modules
- Adjusted fix, so it does not create extra variable to hold $EVAL_ERROR
- Adjusted test case, so it runs on Linux
2023-11-09 17:16:43 +03:00
Sveta Smirnova
3d4751f428 PR-388 - Check undefined skip check slave lag schema change
- Merge branch '3.x' into HEAD
- Improve the fix, so it does not fail when $slave_to_skip->{P} is not
  defined while $slave->{dsn}->{P} is defined
- Improve the fix for pt-table-checksum (PR-230)
- Added test cases for this fix for pt-table-checksum and pt-osc
- Adjusted replica info repository options in test for pt-1760.t, so it
  does not break regression tests for pt-osc on 5.7
2023-11-08 19:42:35 +03:00
Sveta Smirnova
c1b751927c Follow_PR-429_unstop_option_with_testcase
- Added information message about removing sentinel file
- Added cross-links for options --stop and --unstop in docs
- Added test case
2023-11-07 16:25:50 +03:00
Francois Lallart
db8207b1ed Add --unstop option to remove sentinel file. 2023-11-07 16:07:47 +03:00
Sveta Smirnova
f0af7114e7 PT-2279 - Option --charset is confusing when set to utf8mb4
- Added pattern check for utf8 character set instead of eq
- Added test cases
2023-11-06 23:26:54 +03:00
Sveta Smirnova
6ac26fd1d8 Merge branch '3.x' into HEAD 2023-11-06 18:59:44 +03:00
Ilaria Migliozzi
8e4824813f added new hook before_die (#509)
* added new hook before_die

before die, the script calls this hook in oder to execute extra user's 
operations

* PR-509 -  added new hook before_die

- Added test cases

---------

Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
2023-11-06 18:22:14 +03:00
Sveta Smirnova
17820dbf23 PR-471 - Support adding explain output for slow query in JSON report as well
- Put fix into the proper place
- Added test cases
2023-11-06 17:21:28 +03:00
Sveta Smirnova
ab397667e6 Merge branch '3.x' into HEAD 2023-11-06 15:35:23 +03:00
Sveta Smirnova
1407b5380b PT-2109 - pt-mysql-summary throws an error when using sql_mode="ANSI_QUOTES" (#696)
* PT-2109 - pt-mysql-summary throws an error when using sql_mode="ANSI_QUOTES"

- Fixed issues still visible with SQL mode ANSI_QUOTES
- Added test cases for this mode

* PT-2109 - pt-mysql-summary throws an error when using sql_mode="ANSI_QUOTES"

- Removed keyring plugin check in the beginning of the test, because
  reported error would show up even on servers that do not have keyring
  plugin installed. Same applies to wsrep_on check and Percona Server
  features checks.
- Removed temporary dir setup, because not needed for this test.
2023-11-03 01:46:32 +03:00
Sveta Smirnova
817673755f PT-2207 - pt-archiver doesn't work when ANSI_QUOTES is set in sql_mode (#694)
- Implemented suggestion from the bug report
- Added test case
2023-11-02 15:06:46 +03:00
Viktor Szépe
bb4c67498c Fix newly discovered typos (#691) 2023-11-02 15:05:55 +03:00
Sveta Smirnova
df73533d29 Changelog for v3.5.5 (#684)
* PT-2255 Release notes for Percona Toolkit version 3.5.5
	modified:   Makefile.PL
	modified:   config/sphinx-build/conf.py
	modified:   docs/release_notes.rst

* PT-2255 Release notes for Percona Toolkit version 3.5.5

- Added missed contributions

* PT-2255 Release notes for Percona Toolkit version 3.5.5

- Added PT-2258

* Changelog for version 3.5.5

Added Changelog, updated version

* Update Changelog

Co-authored-by: Alina Derkach <alina.derkach@percona.com>

---------

Co-authored-by: Alina Derkach <alina.derkach@percona.com>
2023-10-03 16:29:53 +03:00
Marco Tusa
0924e3505c Merge pull request #688 from Tusamarco/PT-2247-1212
Adding a small check if we have MariaDB in order to prevent usage of …
2023-09-25 15:47:03 +02:00
Marco Tusa
1dc1c999f1 Adding a small check if we have MariaDB in order to prevent usage of print_identified_with_as_hex 2023-09-25 15:44:43 +02:00
Marco Tusa
a8bb50951e Merge pull request #687 from Tusamarco/PT-2247-1212
Adding the option to use in session print_identified_with_as_hex as a…
2023-09-25 15:15:26 +02:00
Marco Tusa
e3a3d973e2 Adding the option to use in session print_identified_with_as_hex as an alternative to the conversion
Param --print_identified_with_as_hex
2023-09-25 15:13:56 +02:00
Marco Tusa
4a812d4a79 Merge pull request #685 from Tusamarco/PT-2247-1212
Pt 2247 1212
2023-09-22 17:48:42 +02:00
Marco Tusa
6f767a9d1d Adding replication safe condition for drop 2023-09-22 17:40:00 +02:00
Marco Tusa
b9675c56b6 small bug in regex 2023-09-22 17:32:27 +02:00
Marco Tusa
b9be38d3a0 Significant refactor of the create in case of MySQL 8 and caching_sha2_password plugin.
The problem is that when caching_sha2_password is used the character utilised in the string may be invalid for MySQL itself to process during creation time.
Given that the password must be converted to HEX and then pushed as binary using the AS <bin password> format
2023-09-22 17:18:23 +02:00