Vitaly Baranov
559afe028f
Retrieve logs from grpc library and pass them to our logging system.
2020-12-07 23:39:55 +03:00
Vitaly Baranov
b8faa1663f
Fix configs in tests.
2020-12-07 22:02:18 +03:00
alesapin
b5d2559626
Merge pull request #17709 from kssenii/better-startup
...
rabbitmq: fix startup with no connection
2020-12-07 19:08:18 +03:00
alesapin
710550f8e5
Kill container with retries
2020-12-07 12:25:27 +03:00
Azat Khuzhin
ea64ec390f
Fix flaky test_ttl_move
...
- replace sleep() with waiting for the message in log
- due to previous paragaph, use unique table names
- increase sleep timeout in some places
2020-12-04 21:27:50 +03:00
Pavel Kruglov
905ba78adc
Merge branch 'master' of github.com:ClickHouse/ClickHouse into optimize-data-on-insert
2020-12-04 18:56:46 +03:00
alesapin
7c2a04d77d
Merge pull request #17671 from ClickHouse/update_integration_tests_image
...
Update docker image in integration tests runner
2020-12-04 15:51:08 +03:00
kssenii
ebab21178e
Fix, add test
2020-12-02 18:45:30 +00:00
Alexander Tokmakov
a0ef3a113a
Merge branch 'master' into allow_atomic_database_inside_materialize_mysql
2020-12-02 18:29:02 +03:00
tavplubix
7e2f7ba623
trigger CI
2020-12-02 18:03:15 +03:00
alesapin
5065d9c64b
Merge branch 'master' into update_integration_tests_image
2020-12-02 13:58:24 +03:00
TCeason
08d36f862d
Merge branch 'master' into add_mysql_killed_test_for_materializemysql
2020-12-02 13:25:07 +08:00
alesapin
51f49e3d47
Check output of cluster start cmd
2020-12-01 23:23:32 +03:00
alexey-milovidov
de77715cb6
Merge pull request #17662 from vitlibar/mark-grpc-protocol-tests-as-flaky
...
Mark grpc protocol's tests as flaky.
2020-12-01 22:05:17 +03:00
tavplubix
0b5261b1af
Merge pull request #17622 from TCeason/add_clickhouse_killed_test_for_materializemysql
...
add integration test: ClickHouse killed while insert for MaterializeMySQL ENGINE
2020-12-01 12:52:52 +03:00
Vitaly Baranov
7f093c4f9a
Mark grpc protocol's tests as flaky.
2020-12-01 12:38:51 +03: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
Alexey Milovidov
1711d428eb
Fix GRPC tests
2020-11-30 09:34:46 +03:00
alesapin
1d179dac22
Merge pull request #17486 from ClickHouse/fix_more_flaky_tests
...
Fix more flaky integration tests
2020-11-28 10:43:29 +03:00
tavplubix
aaaa7ad59f
Merge pull request #16806 from TCeason/add_test_for_materialize_mysql
...
add network partition integration test for MaterializeMySQL
2020-11-27 20:39:06 +03:00
Nikita Mikhaylov
0b6f5c75b9
Merge pull request #17435 from vitlibar/grpc-protocol-2
...
Implement GRPC protocol (corrections)
2020-11-27 15:19:50 +03:00
alesapin
17fa29f44f
Less pulls of network image
2020-11-27 14:38:04 +03:00
alesapin
f12ba9f2c1
Fix test
2020-11-27 14:26:42 +03:00
alesapin
50cf7fda39
Less flaky test_realod_zookeeper
2020-11-27 14:05:59 +03:00
alexey-milovidov
dfae1efbbd
Merge pull request #17070 from fastio/master
...
Support multiple ZooKeeper clusters
2020-11-27 10:38:01 +03:00
taichong
c8f7a56a25
fix CI timeout err
2020-11-27 11:34:49 +08:00
Nikita Mikhaylov
084c75fa6e
Merge pull request #17309 from nikitamikhaylov/merging-sequential-consistency
...
Merging #16309
2020-11-26 15:26:05 +03:00
Vitaly Baranov
1fc43b3c93
Remove trailing whitespaces in config.xml
2020-11-26 10:27:04 +03:00
Vitaly Baranov
49cf980761
Use port 9100 for grpc by default.
2020-11-26 10:14:27 +03:00
Nikita Mikhaylov
27acf6462f
Merge pull request #17248 from kaka11chen/15235
...
Fix #15235 . When clickhouse-copier handle non-partitioned table, throws segfault error.
2020-11-25 14:31:59 +03:00
alesapin
3e1b2f515b
Merge pull request #17311 from ClickHouse/fix_integration_tests
...
Fix some flaky tests
2020-11-25 10:09:27 +03:00
chenqi
302cd55f45
Fix #15235 . When clickhouse-copier handle non-partitioned table, throw segfault error.
2020-11-25 11:52:00 +08:00
Vitaly Baranov
4b3488934c
Disable running test test_odbc_interaction.test_bridge_dies_with_parent with asan.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
3c85165e60
Redirect stderr, stdout for clickhouse-odbc-bridge to files.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
950bccb130
Add test for authentication.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
a0e384b0c0
Added support for external tables.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
23842e7ac6
Added support for input() function.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
0e3a8840b5
Support cancellation of executing query via gRPC.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
88f1eeec2f
Add tests for parallel executing of queries.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
eab3006a4d
Support SSL and compression when using gRPC protocol.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
b0cb3eb306
Extend the protocol with streaming and nonstreaming functions.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
b51e14253d
Added support for sessions in gRPC protocol.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
9285f7edc1
Send profile info to client.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
98e2cc4117
Fix sending progress.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
4f0405af93
Send logs via gRPC protocol too.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
218d9ea3e8
Added input_data_delimiter to protocol.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
797c84889f
Use ReadBuffer to join input data from multiple query infos.
...
That fixes inserting of a row splitted between two query infos.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
63c8d8124a
Added test for inserting to columns with defaults.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
de4586739a
Fix using output format.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
8146093794
Provide more information about errors.
2020-11-24 17:55:01 +03:00
Vitaly Baranov
a327f24e3c
Refine the protocol. Code cleanup in tests.
2020-11-24 17:53:34 +03:00
Vitaly Baranov
db9f762e73
Fix tests.
2020-11-24 17:53:34 +03:00
Vitaly Baranov
13f2352c57
Move files to right places.
2020-11-24 17:53:34 +03:00
mnkonkova
6cd1557d67
Implement GRPC protocol.
2020-11-24 17:53:34 +03: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
Nikita Mikhaylov
6787f98476
Merge pull request #14958 from nikitamikhaylov/refactor_cache_dictionary
...
Refactor cache dictionary
2020-11-24 14:55:02 +03:00
nikitamikhaylov
5be300ff22
Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-sequential-consistency
2020-11-24 14:46:57 +03:00
alesapin
45f09fe293
Merge pull request #17220 from ianton-ru/s3_max_redirects
...
S3 max redirects
2020-11-24 12:13:10 +03:00
alesapin
b05385cec0
Remove code from test which copy-pasted from another test
2020-11-24 11:17:37 +03:00
alesapin
cb234e28ea
Fix garbage test
2020-11-24 11:09:10 +03:00
alesapin
5477984856
Longer integration tests for rabbitMQ
2020-11-24 10:33:35 +03:00
taichong
b5440882cd
remove kill server while insert
2020-11-24 10:11:04 +08:00
alesapin
db1aef8994
More retries
2020-11-23 23:44:46 +03:00
alesapin
3d177d414a
Merge branch 'master' into fix_integration_tests
2020-11-23 23:27:46 +03:00
alexey-milovidov
ac710ff0b7
Merge pull request #17299 from Jokser/flaky-s3-test-custom-auth-headers
...
Fixed flaky test_storage_s3::test_custom_auth_headers
2020-11-23 20:33:48 +03:00
alesapin
1c5da1c178
Better timeouts
2020-11-23 19:39:57 +03:00
alesapin
c9b382b4af
Fix flaky integration tests
2020-11-23 17:40:32 +03:00
nikitamikhaylov
065cd00257
better
2020-11-23 17:24:32 +03:00
nikitamikhaylov
68bef22fda
Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-sequential-consistency
2020-11-23 16:28:35 +03:00
tavplubix
7af89cba8a
Merge pull request #16715 from zhang2014/fix/ISSUES-16605
...
ISSUES-16605 fix without returning affected rows when insert select query in MySQL handler
2020-11-23 15:54:43 +03:00
Anton Ivashkin
aa208a9d9f
Use only 's3_max_redirect' in params instead of all settings
2020-11-23 14:02:17 +03:00
Pavel Kovalenko
5f98d38689
Fixed flaky test_storage_s3::test_custom_auth_headers
2020-11-23 13:19:43 +03: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
alesapin
9c8b0da382
Merge pull request #16033 from nvartolomei/nv/parts-uuid
...
Add unique identifiers IMergeTreeDataPart structure
2020-11-22 16:13:19 +03:00
zhang2014
e1e5eede86
ISSUES-16605 try fix integration failure
2020-11-22 20:13:56 +08:00
zhang2014
5b3154b298
ISSUES-16605 try fix integration test failure
2020-11-22 20:13:56 +08:00
zhang2014
a6dbba5932
ISSUES-16605 add integration test
2020-11-22 20:13:56 +08:00
Nicolae Vartolomei
7c8bc1c04e
Use JSON metadata in WAL
2020-11-20 13:49:17 +00:00
Nicolae Vartolomei
94293ca3ce
Assign UUIDs to parts only when configured to do so
...
Avoid breaking backwards compatibility by default for now.
2020-11-20 13:49:17 +00:00
Pavel Kruglov
e5588b94aa
Fix style and tests
2020-11-20 13:38:53 +03:00
tavplubix
3e335c1e95
Merge pull request #17091 from zhang2014/fix/binlog_checksum
...
Fix MaterializeMySQL SYNC failure when modify binlog_checksum
2020-11-20 13:25:14 +03:00
Anton Ivashkin
a7d4f4be65
Add 's3_max_redirects' test
2020-11-20 11:18:44 +03:00
Pavel Kruglov
608722b6ab
Fix integration tests
2020-11-20 02:59:58 +03:00
Nicolae Vartolomei
425dc4b11b
Add unique identifiers IMergeTreeDataPart structure
...
For now uuids are not generated at all, they are present only if the
part is updated manually (as you can see in the integration test).
The only place where they can be seen today by an end user is in
`system.parts` table. I was looking for hiding this column behind an
option but couldn't find an easy way to do that.
Likely this is also required for WAL, but need to think how not to break
compatibility.
Relates to #13574 , https://github.com/ClickHouse/ClickHouse/issues/13574
Next 1: In the upcoming PR the plan is to integrate de-duplication based on
these fingerprints in the query pipeline.
Next 2: We'll enable automatic generation of uuids and come up with a
way for conditionally sending uuids when processing distributed queries
only when part movement is in progress.
2020-11-19 13:14:25 +00:00
tavplubix
8b6fbea199
trigger CI
2020-11-19 12:47:24 +03:00
Peng Jian
3c86c8b3c9
fix test cases
2020-11-19 15:44:47 +08:00
Peng Jian
d8ae52118b
add test
2020-11-19 15:44:47 +08:00
zhang2014
9df9691ccb
Try fix integration test
2020-11-19 13:01:23 +08:00
nikitamikhaylov
13e711b27e
rename back config
2020-11-18 16:38:14 +03:00
nikitamikhaylov
70a08608f8
add reload dictionary
2020-11-17 20:58:31 +03:00
nikitamikhaylov
663730c758
try to fix flaky test
2020-11-17 20:33:07 +03:00
nikitamikhaylov
9c6b896928
style + flaky test fix
2020-11-17 17:36:04 +03:00
nikitamikhaylov
31b1f644c1
better
2020-11-17 16:59:13 +03:00
nikitamikhaylov
fbd0d14dd6
save
2020-11-17 16:59:12 +03:00
nikitamikhaylov
9b46b53fa3
better defaults
2020-11-17 16:59:12 +03:00
nikitamikhaylov
028fc00166
fix tests
2020-11-17 16:59:12 +03:00
zhang2014
b4fc2ecc00
Try fix integration test
2020-11-17 09:41:35 +08:00
alesapin
5dd32819f5
Merge branch 'master' into fix_ddl_worker_non_leader
2020-11-16 22:34:16 +03: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
alesapin
6759932c61
Remove accident changes
2020-11-16 15:49:08 +03:00
alesapin
f839742288
Add a test
2020-11-16 15:47:02 +03:00
TCeason
45bacd6f74
Merge branch 'master' into add_sync_user_privs_exception
2020-11-16 12:59:44 +08:00
ubuntu
f7b60c17f5
make test stable
2020-11-13 20:38:28 +08:00
alesapin
8d3858fc22
Merge pull request #16895 from CurtizJ/remove-empty-parts
...
Remove empty parts after they were pruned by TTL [2]
2020-11-13 10:00:18 +03:00
taichong
829037b487
Merge branch 'add_sync_user_privs_exception' of https://github.com/TCeason/ClickHouse into add_sync_user_privs_exception
2020-11-13 13:26:19 +08:00
Anton Popov
4cecd89e84
fix dropping of empty parts
2020-11-12 20:37:54 +03:00
taichong
fefa2a2548
add log std out
2020-11-12 22:24:22 +08:00
Anton Popov
0aa35d53c7
Merge remote-tracking branch 'upstream/master' into HEAD
2020-11-12 14:31:58 +03:00
alesapin
a8d466a645
Merge branch 'master' into add_separate_pool_for_fetches
2020-11-12 12:51:02 +03:00
taichong
091df85cdc
modify test db name
2020-11-12 09:49:12 +08:00
TCeason
3912ed4965
Merge branch 'master' into add_sync_user_privs_exception
2020-11-12 09:34:08 +08:00
taichong
e2a9fe44b0
modify test error
2020-11-12 08:17:13 +08:00
Anton Popov
2497598a49
Remove empty parts after they were pruned by TTL
2020-11-11 19:19:43 +03:00
Pavel Kovalenko
e311759c5d
Abort multipart upload if no data was written to WriteBufferFromS3. ( #16840 )
2020-11-11 15:15:16 +03:00
taichong
f4f4379168
modify test case add precheck
2020-11-11 19:36:09 +08:00
taichong
6c8b5b573b
modify test for Integration Tests Flaky Check
2020-11-11 19:36:09 +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
5c1a01897a
Revise the code according to the review
2020-11-11 19:27:37 +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
taichong
d907afa77e
throw exception when mysql sync user privs error.
2020-11-11 19:27:37 +08:00
alesapin
637e3dc2c2
Merge pull request #16627 from amosbird/zkc
...
reload auxiliary zookeepers configuration
2020-11-11 10:00:22 +03:00
alesapin
2e357516a6
Merge branch 'master' into add_separate_pool_for_fetches
2020-11-10 13:53:08 +03:00
Vladimir Chebotarev
059357d51e
ALTER UPDATE/DELETE ... IN PARTITION
with partition pruning in ReplicatedMergeTree
(#13403 )
...
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-11-10 13:23:46 +03:00
Amos Bird
aa8e6db786
reload auxiliary zookeepers configuration
2020-11-10 15:56:37 +08:00
alesapin
a056379ec1
Remove duplicate code
2020-11-09 12:25:50 +03:00
alesapin
cedaa938f3
Add simple integration test
2020-11-09 12:10:32 +03:00
alexey-milovidov
7acfa7d407
Merge pull request #16728 from azat/enable-use_compact_format_in_distributed_parts_names-by-default
...
Enable use_compact_format_in_distributed_parts_names by default
2020-11-07 13:40:54 +03:00
alexey-milovidov
712a35bb7b
Merge pull request #16762 from filimonov/kafka-protobuf-issue12615
...
Test for the issue #12615
2020-11-07 13:40:19 +03:00
Azat Khuzhin
ac8df08186
Set use_compact_format_in_distributed_parts_names=0 for some integration tests
...
To avoid depends from default.
2020-11-06 21:02:44 +03:00
Mikhail Filimonov
b072bc7d2b
Test for the issue #12615
2020-11-06 17:54:44 +01:00
alexey-milovidov
654d127ce6
Merge pull request #16630 from sundy-li/patch-6
...
better change the config
2020-11-04 11:36:07 +03:00
alexey-milovidov
09805399d9
Merge pull request #16560 from azat/test_input_format_parallel_parsing_memory_tracking-flackiness
...
Fix test_input_format_parallel_parsing_memory_tracking flackiness
2020-11-04 01:37:25 +03:00
sundy-li
dea4bd483e
remove unused codes2
2020-11-03 19:40:45 +08:00
sundy-li
9cfeb9fd32
remove unused codes
2020-11-03 18:13:48 +08:00
sundy-li
72bde1c688
better change the config
2020-11-03 17:32:31 +08:00
Alexander Kuzmenkov
de3451d9a4
Merge pull request #16411 from excitoon-favorites/fixflappyafterasyncdrops
...
Remove redundant diagnostics and fixed `test_jbod_overflow`
2020-11-02 19:26:58 +03:00