Commit Graph

5287 Commits

Author SHA1 Message Date
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
dependabot[bot] 1490b64a64 build(deps): bump aquasecurity/trivy-action from 0.18.0 to 0.19.0 (#791)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.18.0...0.19.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>
2024-04-01 12:08:56 +02: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 d5eba438ef Merge pull request #778 from ylacancellera/PT-2301_pt-galera-log-explainer_whois_redesign
Pt 2301 pt galera log explainer whois redesign
2024-03-22 17:57:23 +03:00
Yoann La Cancellera 8acb578e80 pt-galera-log-explainer: fixed nitpicks from review 2024-03-22 15:24:03 +01: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
Yoann La Cancellera 9dbed00bee pt-galera-log-explainer: fixed nitpicks from review 2024-03-21 19:52:25 +01: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
Yoann La Cancellera 4f44d1a504 pt-galera-log-explainer: removed whois deadcode 2024-03-18 18:20:43 +01:00
Yoann La Cancellera 4e0f32acb6 pt-galera-log-explainer: typo 2024-03-18 18:20:43 +01:00
Yoann La Cancellera 421cadb1a8 pt-galera-log-explainer: add whois tree output 2024-03-18 18:20:41 +01:00
Yoann La Cancellera 6636265ef2 pt-galera-log-explainer: fixes: operator identity, keeping oldest
translations, avoiding unspecified names loops for whois command

Those bugs were not breaking behavior, but they were causing variations
of results. It would not always store the same timestamps, sometimes breaking
tests
Most of the random come from regex map iteration
2024-03-18 18:19:52 +01:00
Yoann La Cancellera 417a4ab9f4 pt-galera-log-explainer: whois regression tests 2024-03-18 18:19:45 +01:00
Yoann La Cancellera afe36e129b pt-galera-log-explainer: add whois command 2024-03-18 18:19:00 +01: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 80c266b048 Merge pull request #772 from ylacancellera/pt-galera-log-explainer
pt-galera-log-explainer: add custom regexes parameter
2024-03-18 14:33:34 +03:00
Sveta Smirnova 121cf98bce Merge pull request #774 from percona/dependabot/github_actions/aquasecurity/trivy-action-0.18.0
Bump aquasecurity/trivy-action from 0.17.0 to 0.18.0
2024-03-18 14:33:16 +03:00
Sveta Smirnova 1dc207e5f5 Merge pull request #776 from percona/dependabot/go_modules/github.com/stretchr/testify-1.9.0
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
2024-03-18 14:32:57 +03:00
dependabot[bot] 9f4f32a8bd Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 11:32:51 +00:00
Sveta Smirnova 1a463ad8bf Merge pull request #780 from percona/dependabot/go_modules/golang.org/x/crypto-0.21.0
Bump golang.org/x/crypto from 0.19.0 to 0.21.0
2024-03-18 14:32:21 +03:00
Sveta Smirnova aad54c307c Merge pull request #781 from percona/dependabot/go_modules/github.com/alecthomas/kong-0.9.0
Bump github.com/alecthomas/kong from 0.8.1 to 0.9.0
2024-03-18 14:32:07 +03:00
Sveta Smirnova 5f56d84678 Merge pull request #786 from percona/dependabot/go_modules/k8s.io/api-0.29.3
Bump k8s.io/api from 0.29.2 to 0.29.3
2024-03-18 14:31:48 +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
dependabot[bot] 66045e28cf Bump k8s.io/api from 0.29.2 to 0.29.3
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.29.2 to 0.29.3.
- [Commits](https://github.com/kubernetes/api/compare/v0.29.2...v0.29.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>
2024-03-18 09:40:14 +00: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 d813b4fbcf Merge pull request #777 from percona/snyk-fix-7674bd8c8e5633939958c3a5c375478b
[Snyk] Fix for 12 vulnerabilities
2024-03-15 16:37:32 +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 4e994c4565 PT-1717 - resume pt-online-schema-change if it's interrupted
- Added go.mod to spell check workflow exclude list
2024-03-14 22:00:51 +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 da2e22b785 Merge pull request #782 from percona/Add-Osano-cookie
DOCS-106 Added Osano cookies
2024-03-12 14:42:34 +03:00
Anastasia Alexadrova 26553842b4 DOCS-106 Added Osano cookies
modified:   config/sphinx-build/__pycache__/conf.cpython-37.pyc
	modified:   config/sphinx-build/_static/_templates/theme/layout.html
	new file:   config/sphinx-build/_static/osano.js
	modified:   config/sphinx-build/conf-material/conf.py
	modified:   config/sphinx-build/conf.py
2024-03-12 09:15:39 +01:00
Sveta Smirnova 3eeccd7d32 Merge pull request #779 from alina-derkach-oaza/DOCS-106
Remove the scarf script
2024-03-11 15:53:52 +03:00
Alina Derkach 9231995ad9 Add osano cookies and remove scarf
modified:   config/sphinx-build/_static/_templates/theme/relbar2.html
	modified:   config/sphinx-build/conf.py
2024-03-11 14:32:22 +02:00
dependabot[bot] 1db10b913b Bump github.com/alecthomas/kong from 0.8.1 to 0.9.0
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong) from 0.8.1 to 0.9.0.
- [Commits](https://github.com/alecthomas/kong/compare/v0.8.1...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/kong
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 09:48:13 +00:00
dependabot[bot] 36746e13be Bump golang.org/x/crypto from 0.19.0 to 0.21.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.19.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.19.0...v0.21.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>
2024-03-11 09:48:02 +00:00
snyk-bot 1e8278fff2 fix: requirements-docbuild.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-CERTIFI-3164749
- https://snyk.io/vuln/SNYK-PYTHON-CERTIFI-5805047
- https://snyk.io/vuln/SNYK-PYTHON-JINJA2-6150717
- https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1086606
- https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1088505
- https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-5750273
- https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-5595532
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412
- https://snyk.io/vuln/SNYK-PYTHON-SPHINX-570772
- https://snyk.io/vuln/SNYK-PYTHON-SPHINX-570773
- https://snyk.io/vuln/SNYK-PYTHON-SPHINX-5811865
- https://snyk.io/vuln/SNYK-PYTHON-SPHINX-5812109
2024-03-07 14:39:21 +00: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
dependabot[bot] b16caf53f5 Bump aquasecurity/trivy-action from 0.17.0 to 0.18.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.17.0...0.18.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>
2024-03-04 09:23:10 +00: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