This field is not being used by any tool but it is needed to decode
bigger structures having it. Since the value can be an int to indicate
the number 1-primary, etc, or 'majority', I've changed the field type
from int to interface{}
* PMM-1914 Fixed column parsing having generated
Fixed table parser code that errouneously considered a column as
generated when the default was empty DEFAULT '' and the COMMENT had
the word 'Generated'.
* PMM-1914 Updated TableParser in all programs
* PT-1914 Updated changelog
* PT-1914 Added test
* Updated Percona::Toolkit version
* Updated version in POD headers
* RM-880-RN-3.3.0
* Update makefile to use go dep
* Update year
* Theme is downloaded by Makefile
* Correct path to icon
* Updated pt-osc --reverse-triggers help
* Update reverse-triggers option
* PT-1905 Reverse triggers wording
Co-authored-by: Carlos Salguero <carlos.salguero@percona.com>
* 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
* Add go.mod
* Update github.com/shirou/gopsutil
* Use released version of dep
* Disable modules in CI for now
* PMM-5723 Fix reviewdog.
Co-authored-by: Nurlan Moldomurov <nurlan.moldomurov@percona.com>
* PMM-6256 Updated ExplainCmd for MongoDB
In order to make explain for MongoDB work, we need to remove the "$db"
field from the explain command generated in proto.system.profile since
it is a duplicated field that triggers a MongoDB error.
* PMM-6256 New test
* PMM-6256 Removed commented out code
Co-authored-by: Carlos <cfsalguero@gmail.com>
* Fix for PT-1868 and general pt-pg-summary improvements
This is a rather large piece of changes to pt-pg-summary, which
includes:
* Corrected dependency for models in lib/pginfo
* Fixed existing testing infrastructure and implemented new tests:
** Test for New in pginfo
** Test for TestCollectGlobalInfo
** Test for TestCollectPerDatabaseInfo
* Fixed models to reflect PG12 changes (datid 0 with no name)
** Modified gen.sh to include PG12 containers and work with the same
docker-compoe that tests use
* Updated templates and helper functions
* Fixed standby detection and template output
With these changes, pt-pg-summary works correctly with PG12 hosts.
* Extra port in pt-pg-summary models gen.sh, removing unused