Yoann La Cancellera
b0477bc37f
Fix: don't cut node name if it's an ip
...
rare case, but it was not producing great results
regression tests will come for this
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
94c89c2892
Add: requirements in README.rst
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
72c55a15ec
Remove: extra space in --version out
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
3ad09d8418
Update README.rst
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
a7a4b4adca
Add: --no-color regression test
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
6613880a9b
Change: README to pt standard, regex-list --json
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
0d554e9515
Add: merge regression tests
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
75ce300d7c
Fix: "not found" should not be an error
...
if it shows nothing, it can be understood as easily as a grep returning
nothing
adding an error log is too verbose
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
fea9be26bd
Add: regression tests
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
6d6f30372c
Fix: error msg with uppercase, usage missed pt-
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
5638387713
Fix: --version formatting
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
bbba087a83
Fix: crash when timeline is empty
...
It was due to a silly regression when reformatting the main.go
The function iterating was doing too many things, and returning an error
when nothing was found, and a "continue" was done on the main
"timelineFromPaths" loop
It is now a simple foreach loop that does not return error so we have to
check if the localtimeline slice is empty
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
7f8071ce3f
Simplified the main loop
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
5bbb11df17
Add: merge by directory, Simplified: timeline merges
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
e03fe1801c
Fix: forgot to inherit conflicts
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
b054429057
Improve: "not found" error handling
2023-11-07 18:08:24 +01:00
Yoann La Cancellera
b4cad31e77
Add pt-galera-log-explainer
2023-11-07 18:08:19 +01: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
d268165df0
PT-2064 - pt-archiver: Can't call method "rollback" on an undefined value
...
- Added regression test
2023-11-06 19:34:28 +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
Viktor Szépe
a15207e6cd
Introduce EditorConfig ( #681 )
...
* Introduce EditorConfig
* Fix EC
* Reduce .editorconfig
2023-11-06 17:47:59 +03:00
dependabot[bot]
2f53e02791
Bump aquasecurity/trivy-action from 0.13.0 to 0.13.1 ( #704 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.13.0...0.13.1 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 17:46:11 +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
ed7481a35e
PT-2211 - This pstack return error code line number
...
- Added test case sample for this case
- Adjusted sample results for t/pt-pmp/samples/stacktrace003.in that originally
returned wrong data
2023-11-03 02:45:30 +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
dependabot[bot]
40c52e6a58
Bump github.com/alecthomas/kong from 0.8.0 to 0.8.1 ( #700 )
...
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong ) from 0.8.0 to 0.8.1.
- [Commits](https://github.com/alecthomas/kong/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/kong
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 21:21:08 +03:00
dependabot[bot]
1274532791
Bump k8s.io/api from 0.28.2 to 0.28.3 ( #701 )
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.28.2 to 0.28.3.
- [Commits](https://github.com/kubernetes/api/compare/v0.28.2...v0.28.3 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 21:20:47 +03:00
dependabot[bot]
35a860bf8f
Bump aquasecurity/trivy-action from 0.12.0 to 0.13.0 ( #703 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.12.0...0.13.0 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 20:50:13 +03:00
dependabot[bot]
bc8aac9017
Bump github.com/google/uuid from 1.3.1 to 1.4.0 ( #702 )
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.3.1...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 20:49:47 +03:00
dependabot[bot]
22a16be316
Bump golang.org/x/crypto from 0.13.0 to 0.14.0 ( #698 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/crypto/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 20:46:32 +03:00
dependabot[bot]
44c679ec0a
Bump golang.org/x/net from 0.13.0 to 0.17.0 ( #699 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.13.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.13.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 20:46:09 +03:00
Sveta Smirnova
62d7c70c43
Release v3.5.5 ( #692 )
...
* 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
* Fix version (#690 )
* Release 3.5.5
- Updated Go version to 1.21
* Update go.mod
---------
Co-authored-by: Alina Derkach <alina.derkach@percona.com >
Co-authored-by: EvgeniyPatlan <evgeniy.patlan@percona.com >
2023-10-03 17:58:02 +03:00
Sveta Smirnova
d4ec358f35
Update toolkit.yml ( #693 )
2023-10-03 17:54:00 +03:00
Alina Derkach
d911525b13
PT-2255 Release notes for Percona Toolkit version 3.5.5 ( #679 )
...
* 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
* Update the release date in release_notes.rst
---------
Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com >
Co-authored-by: Sveta Smirnova <svetasmirnova@users.noreply.github.com >
2023-10-03 16:31:54 +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
Sveta Smirnova
46fd033994
PT-2258 - Pass tbl as argument for on_copy_rows_after_nibble ( #682 )
...
- Implemented the feature
- Created test case
v3.5.5
2023-09-22 13:35:29 +03:00