Storozhuk Kostiantyn
4a3145f586
Materialize my sql support enum data type
...
* Implemented Enum for MaterializeMySQL
2021-06-25 16:42:25 +08:00
Kostiantyn Storozhuk
d96478c9ff
Integration test added and small fixes
2021-06-15 21:45:30 +08:00
Yatsishin Ilya
c59a11f798
Merge remote-tracking branch 'origin' into integration-2
2021-04-27 18:34:33 +03:00
zhang2014
81496b2e63
Try fix MySQL 8.0 address already in use
2021-04-22 11:04:30 +08:00
tavplubix
bef0ab182e
Merge branch 'master' into fix_prewhere_in_materialize_mysql
2021-04-20 15:38:48 +03:00
TCeason
472c131420
Add MySQL read history data bytes judgment
2021-04-19 10:51:50 +08:00
Alexander Tokmakov
3b4bd18809
fix prewhere in materialize mysql
2021-04-16 18:51:27 +03:00
Yatsishin Ilya
fe406c27db
Merge remote-tracking branch 'origin' into integration-2
2021-04-14 20:33:20 +03:00
Christian
969b63d1ac
Excludes views from syncing in MaterializeMySQL ( #22760 )
...
* Excludes views from syncing in MaterializeMySQL
* Adds integration test for ignoring MySQL views on initial replication
* Fixes bug in initial integration test for excluding views from replicating to ClickHouse on initial replication
* Fixes bug in initial integration test for excluding views from replicating to ClickHouse on initial replication
* Replace assert with check_query
Co-authored-by: Christian Frøystad <christian@securepractice.no>
Co-authored-by: Ivan <5627721+abyss7@users.noreply.github.com>
2021-04-14 14:19:07 +03:00
zhang2014
6d2f4dd82e
MySQL is started only once with MaterializeMySQL integration test
2021-03-30 14:51:19 +08:00
Yatsishin Ilya
a67f066f0a
fixes
2021-03-19 14:44:03 +03:00
Yatsishin Ilya
7c61f6c957
Merge remote-tracking branch 'origin' into integration-2
2021-02-24 15:42:20 +03:00
Azat Khuzhin
d343060dd5
tests/integration: add start_and_wait() in test_materialize_mysql_database
2021-02-20 22:09:01 +03:00
Azat Khuzhin
80f448a466
tests/integration: preserve mysql docker logs in test_materialize_mysql_database
2021-02-20 22:09:01 +03:00
Yatsishin Ilya
0b62ef4aa9
more fixes
2021-02-16 10:10:01 +03:00
Yatsishin Ilya
06e1188d9e
wip
2021-02-15 12:35:45 +03:00
Stig Bakken
3fc1641d91
Show details of MaterializeMySQL tables in system.tables
2021-02-05 21:37:29 +08:00
Haavard Kvaalen
e6f1ce48fe
Fix handling of TABLE_MAP_EVENT from MySQL
...
The MySQL replication code assumed that row update events would be
preceded by a single TABLE_MAP_EVENT. However, if a single SQL
statement modifies rows in multiple tables, MySQL will first send
table map events for all involved tables, and then row update events.
Depending on circumstances, this could lead to an exception when the row
update was processed, the update could be incorrectly dropped, or the
update could be applied to the wrong table.
2021-02-04 12:49:10 +01:00
Stig Bakken
bedc472bb0
Show MaterializeMySQL tables in system.parts
2021-02-01 16:59:10 +08:00
Alexey Milovidov
282409e8a9
Add a patch from Stig Bakken
2021-01-31 01:37:12 +03:00
Alexander Tokmakov
14e842c197
print stderr of failed subprocess
2021-01-22 17:27:23 +03:00
Alexander Tokmakov
ed355f8663
fix
2020-12-11 16:50:45 +03:00
Ivan
0ba712a2d3
Merge branch 'master' into allow_atomic_database_inside_materialize_mysql
2020-12-08 16:45:51 +03:00
Alexander Tokmakov
a0ef3a113a
Merge branch 'master' into allow_atomic_database_inside_materialize_mysql
2020-12-02 18:29:02 +03:00
TCeason
08d36f862d
Merge branch 'master' into add_mysql_killed_test_for_materializemysql
2020-12-02 13:25:07 +08:00
taichong
5b9d9376c3
add integration test: ClickHouse killed while insert for MaterializeMySQL ENGINE
2020-11-30 17:33:31 +08:00
taichong
6d8cf30f5d
add integration test: MySQL killed while insert for MaterializeMySQL ENGINE
2020-11-30 16:31:09 +08:00
taichong
c8f7a56a25
fix CI timeout err
2020-11-27 11:34:49 +08:00
Alexander Tokmakov
e82c63e05c
fixes
2020-11-24 15:28:54 +03:00
Alexander Tokmakov
dce0bf8efc
Merge branch 'master' into allow_atomic_database_inside_materialize_mysql
2020-11-24 15:28:31 +03:00
taichong
b5440882cd
remove kill server while insert
2020-11-24 10:11:04 +08:00
taichong
a6c2a90756
modify integration test materialize mysql database
...
1. fix asan test err
2. reset pymysql conn if ping err
3. finish mysql & ck killed test
4. modify check_query
2020-11-23 17:55:07 +08:00
taichong
f99d6ea799
add ck & mysql killed while insert
2020-11-23 15:47:44 +08:00
taichong
122740767f
add integration test err
2020-11-23 15:47:44 +08:00
taichong
714767f491
make it normal
2020-11-23 15:47:44 +08:00
taichong
5a50535abc
add mysql kill sync id test
2020-11-23 15:47:44 +08:00
taichong
81bdf50085
add some except error test
2020-11-23 15:47:44 +08:00
taichong
e691b4a0d4
add network partition integration test for MaterializeMySQL
2020-11-23 15:47:44 +08:00
taichong
e8628f61e0
add mysql kill sync id test
2020-11-23 15:47:44 +08:00
taichong
3287f691ee
add some except error test
2020-11-23 15:47:44 +08:00
taichong
5c3d4b2245
add network partition integration test for MaterializeMySQL
2020-11-23 15:47:44 +08:00
zhang2014
9df9691ccb
Try fix integration test
2020-11-19 13:01:23 +08:00
Winter Zhang
f6a205d64b
Merge branch 'master' into fix/binlog_checksum
2020-11-16 21:53:22 +08:00
zhang2014
6ef93ac73c
Try fix MaterializeMySQL SYNC with modify binlog_checksum
2020-11-16 21:46:36 +08:00
taichong
091df85cdc
modify test db name
2020-11-12 09:49:12 +08:00
taichong
e2a9fe44b0
modify test error
2020-11-12 08:17:13 +08:00
taichong
e5da2d4086
print mysql result for test
2020-11-11 19:35:39 +08:00
taichong
64acfea79c
throw exception when mysql sync user privs error.
2020-11-11 19:32:28 +08:00
taichong
aecb9716e1
print mysql result for test
2020-11-11 19:27:37 +08:00
taichong
2f6510d75b
try to fix ci failed
2020-11-11 19:27:37 +08:00