Commit Graph

1710 Commits

Author SHA1 Message Date
Carlos Salguero
e1275a6c67 PT-234 Fixed general log parser for timestamps having timezone 2017-12-19 12:50:35 -03:00
Carlos Salguero
5c106b4fad Updated all tests for PS 5.7 2017-12-18 13:01:11 -03:00
Carlos Salguero
bb3334de08 Updated tests for MySQL 5.7 2017-12-16 20:54:03 -03:00
Carlos Salguero
806caff5f5 PT-207 Updated tests for table-checksum - resume 2017-12-16 12:10:03 -03:00
Carlos Salguero
f954a69dd4 PT-207 Fixed test for generated fields. (added mysql version constraint) 2017-12-16 11:58:49 -03:00
Carlos Salguero
91f54ff8af PT-207 updated samples for pt-table-checksum tests 2017-12-16 11:52:22 -03:00
Carlos Salguero
3d343e6ff3 PT-207 fixed tests for pt-table-checksum 2017-12-16 11:43:30 -03:00
Carlos Salguero
99a17cd041 PT-207 Fixed tests 2017-12-16 11:28:03 -03:00
Carlos Salguero
dc6b8c22f0 PT-205 pt-online-schema-change show message on rocksdb if binlog_format != row 2017-12-14 18:15:14 -03:00
Carlos Salguero
7071f7a205 Merge branch '3.0' into PT-204 2017-12-11 10:35:29 -03:00
Carlos Salguero
3d54dff029 PT-229 Retry insert on WSRESP deadlock on PXC
PXC returns WSREP detected deadlock/conflict error if there are updates
on the same rows on different masters at the same time.
We shouldn't abort on that error, we should retry the insert instead.
2017-12-09 12:07:42 -03:00
Carlos Salguero
fe51f68587 PT-229 WIP 2017-12-07 16:28:48 -03:00
Carlos Salguero
a8f2329721 Merge branch '3.0' into PT-204 2017-12-06 15:01:47 -03:00
Carlos Salguero
5a53f966c2 PT-204 Added tests 2017-12-06 11:18:25 -03:00
Carlos Salguero
b2325fee38 PT-204 WIP 2017-12-05 11:00:18 -03:00
Carlos Salguero
af69008a10 PT-221 pt-table-sync support for MyRocks 2017-11-30 11:36:43 -03:00
Carlos Salguero
7af26c9e3d Merge branch '3.0' into PT-209 2017-11-27 13:39:23 -03:00
Carlos Salguero
17ecf7eb0a PT-225 pt-table-cheksum ignores generated columns 2017-11-23 17:26:16 -03:00
Carlos Salguero
ebe0569a9d Added test for binlog_format set in pt-table-checksum 2017-11-23 10:36:09 -03:00
Carlos Salguero
b4ac841421 PT-204 Added RocksDB to the list of ignored engines 2017-11-16 16:11:52 -03:00
Carlos Salguero
6742025dd0 PT-209 Check adding FKs to a RocksDB table 2017-11-13 16:07:12 -03:00
Carlos Salguero
af65e82ab7 MasterSlave check for errors on get_slave_status calls 2017-11-09 11:40:58 -03:00
Carlos Salguero
566fff54d0 3.0.5 Fixed a test 2017-11-07 17:56:01 -03:00
Carlos Salguero
e428fa5187 3.0.5 Testing 2017-11-07 17:52:14 -03:00
Carlos Salguero
498bc54f47 Merge branch '3.0' into PT-139 2017-10-31 15:36:56 -03:00
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
4c15a39784 PT-200 Index with keyword 'unique' 2017-09-25 15:16:14 -03:00
Carlos Salguero
fec1a1f758 PT-167 pt-kill kills prepared statements w/o checking busy-time 2017-09-06 16:46:47 -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
54dfcf36de PT-193 New test and updated libraries
Added a specific test for this issue and updated all binaries to the
latest TableParser version
2017-08-15 12:06:24 -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
d939d2bf30 PT-186 osc doesn't recognize mixed case in field names
--alter 'CHANGE COLUMN C1 c1 ...' was failing because osc was not
lowering the case of the field names when trying to detect renamed
columns.
2017-08-04 17:57:14 -03:00
Carlos Salguero
b6bec3965a PT-181 online-schema-change not in sync with modules
- Modules updated
- Improved tests
2017-07-27 11:28:46 -03:00
Carlos Salguero
abff09ab77 Merge pull request #235 from percona/PT-91-MySQL-5.7
PT-91 Added --preserve-triggers feature for MySQL 5.7+
2017-07-26 16:02:59 -03:00
Carlos Salguero
8fa29edc45 Merge pull request #243 from percona/PT-173
PT-173 Added --truncate-replicate-table
2017-07-26 15:59:09 -03:00
Carlos Salguero
7e15cf2179 PT-178 Fixed regression in --check-slave-lag option
Reverted PR #119 https://github.com/percona/percona-toolkit/pull/119 and
Added new tests to prevent this happening again.
2017-07-26 13:29:38 -03:00
Carlos Salguero
d794736ebf PT-173 Added --truncate-replicate-table
This feature will truncate the replicate table before starting the
checksunm process. The reason for this ticket is to clean old/stale data
in the replicate table since --empty-replicate-table will only replace
data for existing tables.

Description here
2017-07-18 08:30:17 -03:00
Carlos Salguero
659092bc95 Moved -ppreserve-triggers tests to its own file 2017-07-15 17:54:22 -03:00
Carlos Salguero
80fa0283b2 PT-91 Fixes with locks and --no-swap-table
* Merged code that implements TABLE LOCKs during tiggers creation
  PR #241 https://github.com/percona/percona-toolkit/pull/241/
* Code refactored for --preserve triggers with --no-swap-tables and
  drop-new-table
* Added new test for --preserve triggers with --no-swap-tables and
  drop-new-table
2017-07-13 15:59:57 -03:00
Carlos Salguero
0917acb1ff Fixed JSONFormater tests and dev env scripts 2017-07-12 13:01:57 -03:00
Carlos Salguero
73396a509b PT-91 More tests added 2017-07-06 01:59:31 -03:00
Carlos Salguero
7772630bf5 PT-91 WIP 2017-07-05 11:19:04 -03:00
Carlos Salguero
2ccf81ef8a PT-91 Added some tests for --preserve-triggers 2017-07-04 19:48:21 -03:00
Carlos Salguero
6f12882b91 PT-91 Added --preserve-triggers feature for MySQL 5.7+ 2017-07-04 14:23:32 -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
ee37f8b88a PT-153 Fixed regex, updated tests, merged Kenny's fixes 2017-06-28 11:29:50 -03:00
Carlos Salguero
3d0deabbdf PT-153 Added --[no]fail-on-unique-key-change param 2017-06-27 13:53:08 -03:00
Carlos Salguero
ae0dc0bba3 Revert "Merge pull request #206 from percona/PT-116"
This reverts commit c80955d5c0, reversing
changes made to 40d2fe969a.
2017-06-19 19:16:01 -03:00
Carlos Salguero
e46b411054 PT-162 Updated tests for PR #191 2017-06-19 11:49:58 -03:00