Commit Graph

92 Commits

Author SHA1 Message Date
Carlos Salguero
2233224ff6 PT-1528 pt-online-schema-change "Invalid utf8mb4 character string (#473)
* PT-1528 [WIP] Proposed solution

* PT-1528 Ingore UTF8 warning
2020-12-24 16:22:46 -03:00
Carlos Salguero
d7a7a1c7a5 PT-169 Handle drop-swap errors in pt-online-schema-change (#467)
* PT-169 Fixed drop-swap error handling

* PT-169 Fixed drop_swap error handling
2020-10-12 15:36:45 -03:00
Carlos Salguero
c6b4bd747e PT-1852 Added --no-check-foreing-keys to pt-osc 2020-06-21 18:53:47 -03:00
Carlos Salguero
54f90e4bdf PT-1802 WIP 2020-04-02 09:57:45 -03:00
Carlos Salguero
6a302e2b07 PT-1757 Implemented fallback in NibbleIterator
Since now NibbleIterator can fallback to nibble (from one chunk) pt-osc
can nibble tables even if due to unacurate stats, it choses one nible as
the initial nibbling method.
2019-10-13 21:58:56 -03:00
Carlos Salguero
30896506db PT-1705 Added exit codes to pt-osc 2019-08-13 22:01:49 -03:00
Carlos Salguero
dc9edf7cda PT-1574 Fixed undefs handling 2018-08-07 14:21:44 -03:00
Carlos Salguero
7260bab2dc PT-1574 Added a test case 2018-08-07 01:03:58 -03:00
Carlos Salguero
2b45f192b0 PT-1574 Improved detection of nullable keys 2018-07-27 13:34:19 -03:00
Carlos Salguero
f5fd795fda PT-1559 pt-osc --alter-foreign-keys-method=drop_swap doesn't work with MySQL 8.0+ 2018-06-13 16:46:40 -03:00
Carlos Salguero
0004bb7bbc PT-1554 (WIP) Tests for MySQL 8
There are tests failing but the sandbox doesn't crash
2018-05-30 21:25:28 -03:00
Carlos Salguero
8943e0a9f6 Merge branch '3.0' into mysql-8 2018-02-19 12:11:07 -03:00
Carlos Salguero
d8ec16f213 PMM-1455 pt-osc is stuck when the table that is being altered is filtered out in the slave 2018-02-16 14:27:16 -03:00
Carlos Salguero
943cb68ee0 PMM-1455 Tests added 2018-02-08 13:07:13 -03:00
Carlos Salguero
d38a584271 Fixes for DSN parser to use UTF8 2018-01-28 14:46:51 -03:00
Carlos Salguero
7c1c99d9ca PT-244 Fixed --data-dir with partitions
Made DATA DIRECTORY to be inserted at the correct place, not at the end
of the create table query.
2018-01-16 15:57:06 -03:00
Carlos Salguero
bb3334de08 Updated tests for MySQL 5.7 2017-12-16 20:54:03 -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
fe51f68587 PT-229 WIP 2017-12-07 16:28:48 -03:00
Carlos Salguero
6742025dd0 PT-209 Check adding FKs to a RocksDB table 2017-11-13 16:07:12 -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
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
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
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
7772630bf5 PT-91 WIP 2017-07-05 11:19:04 -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
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
38702783a4 PT-144 Fixed Constraint name is too long 2017-05-23 12:33:55 -03:00
Carlos Salguero
4224fc7abf PT-116 Added --[no]use-insert-ignore 2017-04-20 15:31:33 -03:00
Carlos Salguero
f8bbf3b1b0 PT-94 Fixed updates to PK while osc is running 2017-03-14 17:16:30 -03:00
amontecillo
5ea2f6b27f Added tests for bug 1632522
Adjusted renamt_fk_constraints.t for new renaming logic
2016-10-14 17:12:07 -07:00
Carlos Salguero
ea7bd7f06a Merge pull request #135 from percona/pt-osc-fk-single-underscore-lp1498128
pt-osc doesn't apply underscores to foreign keys individually
2016-09-20 11:41:23 -03:00
Carlos Salguero
d24b5845ee Added test for bug-1613915 pt-online-schema-change 2016-08-21 22:10:09 -03:00
Carlos Salguero
3288185643 Revert "Merge pull request #107 from percona/bug-984057"
This reverts commit 417b24299c, reversing
changes made to 0b62ba26af.
2016-08-04 17:36:40 -03:00
Carlos Salguero
f8c91c2c3b bug-984057 Tests for --preserve-triggers 2016-07-05 16:27:25 -03:00
frank-cizmich
3f90f9ea82 pt-osc generate random table prefix after 10th try 2016-02-26 21:03:18 -03:00
frank-cizmich
7c0054fa5d DSNParser clobbered sql_mode variable set by user - lp1506748 2016-02-01 22:51:55 -03:00
Frank Cizmich
4b1b756f4c Merge pull request #60 from percona/pt-osc-recursion-method-error-lp1523685
pt-osc fixed recursion method dsn - lp1523685
2016-01-28 16:10:37 -03:00
frank-cizmich
b40469d913 pt-osc added --null-to-not-null option 2016-01-26 21:29:18 -03:00
frank-cizmich
6a4d33039c pt-osc fixed basics.t tests 2015-12-30 23:29:36 -03:00
frank-cizmich
0c18e8969b pt-osc fixed several test files for 5.7 compat 2015-12-30 16:08:00 -03:00
frank-cizmich
6186f942b2 pt-osc fixed recursion method dsn - lp1523685 2015-12-14 00:40:16 -03:00
Daniel Nichter
4eb1cd3a5c Update test output for --analyze-before-swap. 2015-11-03 15:33:21 -08:00
frank-cizmich
c0ea3179c3 pt-osc fixed fk underscore toggling lp1498128 2015-09-23 19:21:42 -03:00
frank-cizmich
21a9c35f5c pt-osc now limits size of contraint names 2015-08-06 15:19:27 -03:00
Frank Cizmich
2c7240bf49 Skipped another plan check. Skipped running explain when unnecessary. Added test. Fixed test that set check-plan off by default 2014-07-31 16:41:15 -03:00