Commit Graph

250 Commits

Author SHA1 Message Date
yoku0825
cceb48619f Use full_output to avoid to die (PT-1967) (#494) 2022-09-28 02:55:30 +03:00
yoku0825
dcf237ef8c Fix test PT-1966 (#493)
* Detect raising error for PT-1966

* Fix non-duplicated column name for PT-1966

* More good way to catch an error. (PT-1966)

- https://github.com/percona/percona-toolkit/pull/493#pullrequestreview-678426876

* Add Changelog (PT-1966)

- https://github.com/percona/percona-toolkit/pull/493
2021-06-17 10:28:54 -03:00
Carlos Salguero
0b97e1f471 PT-1747 pt-online-schema-change was bringing the database into a broken state (#491)
* PT-1717 Updated behavior for FKs

* Fixed rename_columns.t

* Fixed pt-244.t

* fixed drop swap test

* Fixed test for MySQL 8.0

* Updated test for MySQL 8

* Updated test for MySQL 8
2021-06-03 12:00:43 -03:00
Carlos Salguero
e570cecbab PT-1914 Column data lost when 'Generated' is in the column comment (#482)
* 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
2021-03-09 11:46:05 -03:00
Carlos Salguero
4f78d5450c PT-1919 drop-swap can drop triggers (#483)
* PT-1919 drop-swap can drop triggers

* PT-1919 Update changelog
2021-03-05 11:32:03 -03:00
Carlos Salguero
9ef2b56f4d PT-1905 Reverse triggers (#477)
* PT-1905 Reverse triggers

* WIP

* PT-1905 Updated reverse triggers creation

* PT-1905 Fixed trigger creation
2021-01-12 13:58:34 -03:00
Carlos Salguero
71c9902532 PT-1898 pt archiver keeps transaction open (#479)
* PT-1898 WIP

* PT-1898 Added commit for open txns

* PT-1898 Added commit for open txns

* PT-1898 removed dev leftover
2021-01-12 13:40:51 -03:00
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
Mateus Dubiela Oliveira
d6ada6a7bf PT-1869: Enable slave list reloading (#456)
* PT-1869: Enable slave list reloading

* PT-1869: Fix pt-osc/slave_lag sample sizes for more consistent testing results

* PT-1869: Move slaves_to_skip to get_slaves_cb
2020-08-12 11:30:56 -03:00
Carlos
8ff3451362 PT-1853 Changed wording 2020-06-30 20:54:08 -03:00
Carlos
9f2b72e0df PT-1853 Added disable fk checks in MySQL 2020-06-30 20:09:39 -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
6dbf807dfa Fixed Fk tests 2020-04-16 16:12:40 -03:00
Carlos Salguero
208fb86586 Revert "Merge pull request #427 from percona/PT-1747"
This reverts commit 25b637d4bd, reversing
changes made to 38c169031e.
2020-04-03 14:40:35 -03:00
Carlos Salguero
54f90e4bdf PT-1802 WIP 2020-04-02 09:57:45 -03:00
Carlos Salguero
45522dea28 Renamed dubious tests 2020-04-01 15:39:16 -03:00
Carlos Salguero
fc631efb32 Fixed long_fk_constraints.t 2020-03-31 11:27:04 -03:00
Carlos Salguero
f0ee14d479 WIP 2020-03-30 08:21:05 -03:00
Carlos Salguero
e97d80cde0 PT-1747 Updated MySQL version check 2019-11-26 10:04:56 -03:00
Carlos Salguero
0c50d8f708 Merge pull request #420 from percona/PT-1760
PT-1760 regression on slave with replication channels
2019-10-15 19:02:36 -03:00
Carlos Salguero
13f7afc49d PT-1757 Fixed NibbleIterator undef 2019-10-14 14:44:57 -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
522f8c5821 PT-1760 Updated DSNParser module 2019-10-01 08:26:42 -03:00
Carlos Salguero
9ed892692a PT-297 removed debug code 2019-09-20 13:50:44 -03:00
Carlos Salguero
10fe056242 WIP 2019-09-19 14:29:55 -03:00
Carlos Salguero
ed6ebcedbd Updated changelog and tests 2019-09-06 06:25:52 -03:00
Carlos Salguero
30896506db PT-1705 Added exit codes to pt-osc 2019-08-13 22:01:49 -03:00
Carlos Salguero
c6e07e6b63 PT-1705 Added exit codes to osc 2019-08-13 20:27:35 -03:00
Carlos Salguero
dc9edf7cda PT-1574 Fixed undefs handling 2018-08-07 14:21:44 -03:00
Carlos Salguero
b5a1775bad PT-1574 PT-1590 Fixed test 2018-08-07 09:40:05 -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
6d30d18834 PT-1554 Fixed tests for rebuild_constraints in MySQL 8 2018-06-20 12:12:28 -03:00
Carlos Salguero
a90e5a78a0 PT-1554 Improved MySQL 8 support on pt-osc 2018-06-15 00:00:04 -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
b801dfa156 PT-1554 Fixed 2 tests for MySQL 5.7 2018-05-30 09:09:42 -03:00
Carlos Salguero
1a4c471a46 PT-1554 Fixed unstable test alter_active_table.t 2018-05-30 02:01:27 -03:00
Carlos Salguero
af62172435 PT-1554 Fixed test for pt-244 (change data dir) 2018-05-29 19:57:08 -03:00
Carlos Salguero
08b00e7fab PT-1554 Fix to run tests in a tmpfs 2018-05-29 18:07:05 -03:00
Carlos Salguero
6a39b12f4e PT-1554 Test for 5.6 2018-05-29 17:41:37 -03:00
Carlos Salguero
4d105abdc4 PT-1554 Testing a fix for osc failing test 2018-05-18 19:15:55 -03:00
Carlos Salguero
b3dd85eeab PT-1554 Fixes pt-osc tests 2018-05-18 12:27:36 -03:00
Carlos Salguero
4ac6333b6c PT-1554 Testing a change in docker test 2018-05-17 23:02:20 -03:00
Carlos Salguero
d3d2b086c0 PT-1554 Disabled slow tests 2018-05-17 22:23:15 -03:00
Carlos Salguero
aad1ef0e30 PT-1554 Updated a slow test 2018-05-16 23:21:49 -03:00
Carlos Salguero
543875e638 PT-1554 Updated a slow test 2018-05-16 23:09:02 -03:00
Carlos Salguero
36d3b38171 PT-1554 Updated test for pt-osc 2018-05-16 21:10:08 -03:00
Carlos Salguero
b47bf6bf67 PT-1554 Updated DSNs for mysql_random_data_load 2018-05-16 16:31:11 -03:00