Commit Graph

44 Commits

Author SHA1 Message Date
Viktor Szépe
ea67327ff7 Fix more typos (#658) 2023-08-22 19:34:24 +03:00
Sveta Smirnova
ab4bf1b1c6 PT-2236 - pt-secure-collect, pt-pg-summary do not follow PT standard (#652)
* PT-2236 - pt-secure-collect, pt-pg-summary do not follow PT standard for option --version

- Redirected UsageWriter to os.Stdout for kingpin, so --version output
  goes to STDOUT, not to STDERR
- Adjusted text, printed by the --version flag
- Added test cases to check how --version flag works
- Adjusted test cases, so they use TOOLNAME constant

* PT-2236 - pt-secure-collect, pt-pg-summary do not follow PT standard for option --version

Run go mod tidy as requested by Artem Gavrilov

* PT-2236 - pt-secure-collect, pt-pg-summary do not follow PT standard for option --version

Renamed const TOOLNAME to toolname to follow Go coding standards
2023-07-31 16:59:30 +03:00
Sveta Smirnova
46a466efcc PT-2165 actual version, go version, and build for go tools (#603)
* PT-2165 - Actual Version, GoVersion, and Build for Go tools

Removed outdated numbers from main.go, because we update these numbers in the Makefile.

* PT-2165 - Actual Version, GoVersion, and Build for Go tools

Added template version into Makefile for the latest tag.
2023-02-27 01:19:26 +03:00
Sveta Smirnova
c1696fd9f8 Release 3.5.1 (#574)
* RM-1153 - Percona Toolkit 3.5.1

Updated version for Perl files to 3.5.1
Updated Perl module Percona::Toolkit to version 3.5.1 and updated all scripts using this module
Manually updated Go programs
Moved ONLY_UPDATE_VERSION after definition of DATE and SERIES variables, so the script does not fail because of undefined variables

* RM-1153 - Percona Toolkit 3.5.1

Updated Changelog
Updated release date in docs/percona-toolkit.pod

* PT-2162 Release Notes 3.5.1 (#571)

modified:   Makefile.PL
	modified:   config/sphinx-build/conf.py
	modified:   docs/release_notes.rst
	new file:   docs/rn.3-5-1.txt

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

* PT-7 Fix syntax (#573)

Co-authored-by: Alina Derkach <81975178+alina-derkach-oaza@users.noreply.github.com>
Co-authored-by: Alina Derkach <“alina.derkach@percona.com”>
Co-authored-by: EvgeniyPatlan <evgeniy.patlan@percona.com>
2023-01-23 17:51:17 +03:00
Carlos Salguero
882d8787c7 Release 3.5.0 (#563)
* Changelog and version for Release 3.5.0

* PT-2076 add rhel9 dependency

* PT-2128 Updated version to 3.5.0

Co-authored-by: svetasmirnova <sveta.smirnova@percona.com>
Co-authored-by: EvgeniyPatlan <evgeniy.patlan@percona.com>
2022-12-01 14:31:46 +03:00
Carlos Salguero
896fdcede8 Release 3.4.0 (#539)
* PT-1979 Improved mdb summary information

Added the MongoDB instance command line options to the output.
Also fixed the spacing in the replicaset section.

* Added new template file

* PT-1978 Implemented duplicated indexes detection

* WIP

* PT-1978 WIP

* PT-1978 New tool pt-mongodb-check-index

* Upgraded version and dependencies

* Updated Go sources

* Removed unused file

* Added version command

* Added changelog

* Updated required params

* Added system.profile to the ingored dbs

* Updated Changelog

* Updated version in all programs

* Updated changelog

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* PT-7 fix 3.4.0 build

* Updated Makefile

* Updated changelog

* Updated Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
Co-authored-by: Evgeniy Patlan <evgeniy.patlan@percona.com>
2022-07-11 10:29:37 -03:00
Carlos Salguero
8519e103ad PT-1979 Improved mdb summary information (#536)
* PT-1979 Improved mdb summary information

Added the MongoDB instance command line options to the output.
Also fixed the spacing in the replicaset section.

* Added new template file

* Upgraded deps due to security issues
2022-04-07 18:12:45 -03:00
Carlos Salguero
d91ba9cadd PT-1959 Updated version number (#515)
Not updated in files that will be updated during the build like the
python script, Makefile.PL and some other files like documentation.
2021-09-20 10:27:29 -03:00
Carlos Salguero
c47ac4d4df PT release 3.3.1 testing branch (#486)
* PT release 3.3.1 testing branch

* Update pkgs version

* Updated version from build script
2021-04-30 10:08:05 -03:00
Carlos Salguero
ff6b05b381 PT-1891 Fixed mongodb-summary connection with ssl (#469)
* PT-1891 Fixed mongodb-summary connection with ssl

- Added SSL connection options
- Fixed old tests
- Replaced gofmt by gofumpt in Makefile
- There are no ssl test for mongodb-summary because the current sandbox
doesnt support it

* PT-1891 Ran gofumports

* PMM-1891 Fixes for CR

* PT-1891 Decreased minimum TLS reqs for compatibility
2020-11-02 17:13:29 -03:00
Carlos Salguero
3530c7bccd PT-1822 Do not exit if rs is not enabled 2020-06-02 11:59:26 -03:00
Carlos Salguero
1f33cb97e6 PT-1822 Fixed for CR 2020-05-25 22:35:35 -03:00
Carlos Salguero
cc3ace2b6d Manually updated version to 3.2.0 2020-04-23 14:33:51 -03:00
Carlos Salguero
25b912114d Revert "Manually updated version to 3.2"
This reverts commit d232a96354.
2020-04-23 14:30:35 -03:00
Carlos Salguero
d232a96354 Manually updated version to 3.2 2020-04-23 14:20:58 -03:00
Carlos Salguero
737c5de9af Updated makefile to include git commit 2019-09-07 16:16:44 -03:00
Carlos Salguero
0f618920c9 Fixed fingerprinter 2019-08-15 17:43:49 -03:00
Carlos Salguero
c388bbc01c PT-1741 Migrated Go pt-mongo-tools to new driver 2019-08-02 11:53:39 -03:00
Carlos Salguero
cdea59e688 PT-1706 Made mongo tools compile with Go 1.12
- Removed t.parallel from tests
- Added lock to stats  pkg
- Fixed timeout channels usage in stats pkg
- Removed non-compatible dependency (badfix/slice) and its dependencies
- Made code improvements for linter
2019-03-31 04:20:31 -03:00
Kamil Dziedzic
51be22073b PMM-1057: fingerprint more types of queries 2017-08-21 18:16:23 +02:00
Carlos Salguero
055aef3d8b PT-138 Added json otput format to pt-mongodb-summary 2017-05-17 17:21:19 -03:00
Carlos Salguero
da99087d08 Merge pull request #167 from percona/PT-74
PT-74 Fixed getSecuritySettings func
2017-03-21 19:11:18 +02:00
Carlos Salguero
4089b5e4c2 PT-73 Fixed help flag 2017-02-23 11:14:45 -03:00
Carlos Salguero
c00ccf0d8d PT-73 Added SSL support 2017-02-21 14:32:17 -03:00
Carlos Salguero
c209b68166 PT-74 Fixed getSecuritySettings func
On some servers, like a mongos with config servers, this fails if session
mode is Monotonic.
On some other servers like a secondary in a replica set, this fails if the
session mode is Strong.
Added a new func to try to get this info using both modes if necessary.
2017-02-20 14:57:40 -03:00
Carlos Salguero
806fd8e804 Fixes in template & removed balancer stats for mongod servers 2017-02-17 13:57:21 -03:00
Carlos Salguero
1d6adb953d New fingeprint method 2017-02-16 15:59:01 -03:00
Carlos Salguero
2513815168 Fixes for PT-70, PT-68 & PT-69 2017-02-14 17:46:33 -03:00
Carlos Salguero
f1cc8af10e PT-71 2017-02-13 20:46:04 -03:00
Carlos Salguero
92b1109804 Fixed PT-69 2017-02-13 13:08:54 -03:00
Carlos Salguero
68700a844c Fixes for PT-66 2017-02-09 20:51:39 -03:00
Carlos Salguero
5c16c42ae0 Added minimum role to the docs 2017-02-07 22:35:28 -03:00
Carlos Salguero
96acdf2961 Added GOPATH/bin to the path in build script
Also fixed hardcoded tool name for MongoDB tools
2017-02-01 15:12:04 -03:00
Carlos Salguero
774178d3af Fixes for PT-61 & PT-62 2017-01-30 14:51:16 -03:00
Carlos Salguero
b2406d8da4 Fixes for PT-55 & PT-56 2017-01-20 18:02:32 -03:00
Carlos Salguero
98fa733c0c Added security checks & server storage engine 2017-01-19 17:19:13 -03:00
Carlos Salguero
6e3b2ce3ad Removed unused vars 2017-01-18 00:00:35 -03:00
Carlos Salguero
f007d558d4 PT-51 Changed html/template by text/template 2017-01-13 15:40:48 -03:00
Carlos Salguero
14374df410 PT-47 pt-mongodb-summary not showing info about replica set 2017-01-12 17:03:51 -03:00
Carlos Salguero
c2419ba10a Implemented version check
Updated readme
2017-01-11 15:01:33 -03:00
Carlos Salguero
3fd93b4f32 Fixed sharded/unsharded coll stats 2017-01-05 23:52:03 -03:00
Carlos Salguero
aa068ea4fe PT-50 Fixed oplog counters 2016-12-21 14:33:04 -03:00
Carlos Salguero
dcab9e3393 Updated mongodb src 2016-12-11 23:28:44 -03:00
Carlos Salguero
47c0db3650 moving mongodb code into toolkit repo 2016-12-11 23:18:56 -03:00