Commit Graph

1345 Commits

Author SHA1 Message Date
Carlos Salguero
b51d09d811 PT-202 pt-online-schema-change fails with virtual columns
Modified TableParser to ignore GENERATED columns from the columns list
used to construct SELECTs/INSERTs
2017-10-05 15:19:57 -03:00
Carlos Salguero
738f9809f8 PT-167 Still need to add tests
Description here
2017-09-04 12:03:36 -03:00
Carlos Salguero
7e59feb8dd PT-196 pt-onine-schema-change is pausing because {some_status_variable}=0
Description here
2017-08-30 14:54:47 -03:00
Carlos Salguero
511c80389f PT-152 Added SHOW SLAVE HOST to pt-mysql-summary 2017-08-29 15:45:13 -03:00
Carlos Salguero
c375fd068b PT-193 Fixed regex in TableParser
TableParser's parse function was failing while trying to lowercase
column names in the provided 'SHOW CREATE TABLE'.
The problem was it was trying to lowercase everything between backticks
but lines like these:

`field_name` int comment "here is a ` in the comment"
`second_field_name` int

made the original regex to fail, matching `in the coment"` as an
expression to be lowercased while second_file_name was considered as
outside backticks.
2017-08-14 21:01:30 -03:00
Carlos Salguero
481acbaaa0 Updates for 3.0.4 release
- Updated lib/Percona/Toolkit.pm version to 3.0.4
- Updated all scripts version to 3.0.4
- Updated the build script removing seds to add links to Jira/Launchpad
in favor of a solution in config/sphinx-build/conf.py
2017-07-31 16:07:19 -03:00
Carlos Salguero
98edc12427 Revert "Merge pull request #119 from dveeden/reread_slaves_dsn"
This reverts commit 68685117a6, reversing
changes made to 7a035cb2e7.
2017-07-25 22:01:05 -03:00
Carlos Salguero
0bee6e50bc Merge pull request #190 from guriandoro/pt-stalk-collect-prepared-statements-LP1642750
pt stalk collect prepared statements lp1642750 (PT-90)
2017-07-02 23:32:22 -03:00
Carlos Salguero
a826bf97b8 Merge pull request #191 from guriandoro/pt-table-checksum-fix-ignored-dbs-LP1642994
pt table checksum fix ignored dbs lp1642994
2017-06-19 11:47:27 -03:00
guriandoro
b775701551 Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750
Conflicts:
	bin/pt-stalk
	lib/bash/collect.sh
2017-06-10 11:45:33 -04:00
Carlos Salguero
ad9767be5c PT-148 Fixed Use of uninitialized value in printf 2017-05-29 17:11:02 -03:00
Carlos Salguero
8ca82d085e PT-139 Detect only 1 slave using rep channels
If there is only one slave but it is using replication channels but
--channel was not specified as a parameter, get_slave_status will
return null.
2017-05-22 15:48:32 -03:00
Carlos Salguero
fc4b3a73ee Merge branch '3.0' into PT-139 2017-05-22 14:13:42 -03:00
Carlos Salguero
04961a8f07 Updated Percona::Toolkit version to 3.0.3 2017-05-16 09:14:50 -03:00
Carlos Salguero
820448fca3 PT-139 wait_for_master returns error if no channel was specified in a multi master env 2017-05-12 15:44:57 -03:00
Carlos Salguero
5744fdf583 PT-139 Added replication channels suport to pt-table-sync 2017-05-12 11:55:52 -03:00
Carlos Salguero
f6d2e89027 Fixed all tests for MySQL 5.7
Most of the failing tests were failing due to changes in MySQL 5.7
default sql_mode and because of invalid timestamps ('0000-00-00')
2017-05-03 15:48:11 -03:00
Carlos Salguero
e6e54839bf More tests for 5.7 fixed 2017-04-28 17:15:53 -03:00
Carlos Salguero
fcd1cb173f More 5.7 tests fixed 2017-04-27 16:44:46 -03:00
Carlos Salguero
a6c55737f5 Updated tests & 5.7 sandbox files 2017-04-27 12:06:43 -03:00
Carlos Salguero
92ac5987e1 Fixed some tests for MySQL 5.7 2017-04-25 16:50:54 -03:00
Carlos Salguero
3d163ca41b Merge pull request #203 from guriandoro/pt-stalk-ps-include-mem-usage-outputs-LP1510809
pt-stalk ps include memory usage outputs
2017-04-13 16:52:43 +02:00
Carlos Salguero
2fe4afc9cf added --skip-check-slave-lag 2017-04-12 12:34:39 -03:00
guriandoro
437d28837b Changes for LP1510809. ps -eaF is captured now.
Modified f argument, for F. From man pages:

" -F     Extra full format.  See the -f option, which -F implies."

The following columns have been added to the output, due to this
change:

SZ   size in physical pages of the core image of the process.
     This includes text, data, and stack space.  Device mappings
     are currently excluded; this is subject to change.

RSS  resident set size, the non-swapped physical memory that a
     task has used (inkiloBytes).

PSR  processor that process is currently assigned to.
2017-04-11 19:15:14 -04:00
Carlos Salguero
1d4507537b PT-115 Make DSNs params able to be repeatable 2017-03-30 10:10:54 -03:00
Carlos Salguero
c554e98926 Revert "Merge pull request #197 from percona/PT-115"
This reverts commit 0f5ce4cc0b, reversing
changes made to 515833f3d2.
2017-03-29 15:10:25 -03:00
Carlos Salguero
e22e8f4b1d PT-115 Made OptionParser to accept repeatable DSN parameters 2017-03-29 14:45:23 -03:00
Carlos Salguero
fac4be64b4 Merge branch '3.0' into issue-1642754 2017-03-28 14:08:51 -03:00
Carlos Salguero
1926bd60b4 PT-111 Collect MySQL variables 2017-03-28 14:03:40 -03:00
Carlos Salguero
be971eeee5 PT-80 Collect replication slave information 2017-03-27 17:30:06 -03:00
Carlos Salguero
4543847788 Updated Percona::Toolkit version to 3.0.2 2017-03-23 12:51:28 -03:00
guriandoro
2aaa4d09e5 Merge branch '3.0' into pt-table-checksum-fix-ignored-dbs-LP1642994 2017-03-22 23:32:06 -04:00
guriandoro
8e80b21dee Fixed typo in ignored table mysql.gtid_executed 2017-03-22 23:20:01 -04:00
guriandoro
43d01f694f Removed tables from the default ignore list.
mysql.inventory
mysql.plugin
mysql.proc
2017-03-22 23:17:39 -04:00
guriandoro
c15c3f5bbc Removed ignore for sys.sys_schema table. 2017-03-22 23:12:32 -04:00
Carlos Salguero
ad73055a5b Changed how we invoke MySQL from pt-stalk 2017-03-22 19:38:09 -03:00
guriandoro
0e5a08342d Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750 2017-03-22 16:34:34 -04:00
Carlos Salguero
759ee9196e Updated collect.sh because of a syntax error 2017-03-22 17:32:14 -03:00
guriandoro
32745039b5 Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750 2017-03-22 16:19:19 -04:00
Carlos Salguero
a117e63e89 Added MySQL version check to stalk ps queries 2017-03-22 12:38:11 -03:00
guriandoro
e8ad42955d PT-90 Adding collect for LP:1642750
pt-stalk will now also collect from P_S.prepared_statements_instances
2017-03-22 10:53:34 -04:00
Carlos Salguero
91ec593da5 Merge pull request #174 from percona/PT-89
PT-89 Now top runs using -bn${OPT_RUN_TIME}
2017-03-21 19:25:30 +02:00
Carlos Salguero
2e64421972 Merge pull request #172 from percona/PT-76
PT-76 Fixed cmd line parsing for lines having #
2017-03-21 19:23:37 +02:00
Carlos Salguero
2e57ee4ec5 Merge pull request #179 from percona/PT-96
PT-96 Fixing all the tests
2017-03-21 18:54:08 +02:00
Carlos Salguero
4a056cf3b0 PT-81 Collect information about locks and transactions using P_S 2017-03-21 13:45:59 -03:00
Carlos Salguero
b6bcf888e6 Merge branch '3.0' into issue-1642751 2017-03-20 14:26:45 -03:00
Carlos Salguero
978db8ff14 Merge branch '3.0' into issue-1651002 2017-03-16 14:55:10 -03:00
Carlos Salguero
148be75a0e PT-105 Fixed pt-table-checksum fails if a database is dropped while the tool is running 2017-03-16 14:42:26 -03:00
Carlos Salguero
84bf6b4396 PT-101 Fixed --slave-user in pt-table-checksum 2017-03-15 17:37:34 -03:00
Carlos Salguero
9b80a029f2 PT-96 Updated Percona::Toolkit version 2017-03-10 17:54:45 -03:00