Nikita Mikhaylov
f51b41b7a4
Merge pull request #21710 from kssenii/replica-priorities
...
Support replicas priority for postgres dictionary source
2021-03-17 16:02:00 +03:00
Pavel Kovalenko
7ba1b8dbd5
Fixed flaky test_merge_tree_s3::test_insert_same_partition_and_merge
2021-03-17 16:00:22 +03:00
kssenii
c17fe87eb8
Update test
2021-03-17 08:46:57 +00:00
alesapin
ef0ec22377
fix
2021-03-17 10:14:46 +03:00
tavplubix
d42b442b83
Update ci-runner.py
2021-03-17 03:57:33 +03:00
tavplubix
ccf46d8269
Update ci-runner.py
2021-03-17 02:16:03 +03:00
tavplubix
a093980767
Merge pull request #21711 from kssenii/non-default-schema
...
Support non-default table schema for postgres storage/table-function
2021-03-17 02:10:32 +03:00
tavplubix
5d73a96a51
Update ci-runner.py
2021-03-17 00:39:38 +03:00
Alexander Tokmakov
2d34bbb4b2
Merge branch 'master' into test_multiple_nodes
2021-03-16 21:29:26 +03:00
Alexander Tokmakov
5037d2c10d
add timeout for the whole task
2021-03-16 20:48:45 +03:00
Alexander Tokmakov
3ba6dc2aee
Merge branch 'master' into tavplubix-patch-1
2021-03-16 20:05:07 +03:00
Ilya Golshtein
518103f851
old Avro test data removed
2021-03-16 19:39:58 +03:00
kssenii
8b360a1dfb
Try fix tests
2021-03-16 15:35:57 +00:00
kssenii
f8a99804c1
Add double quotes
2021-03-16 11:15:43 +00:00
alexey-milovidov
f52e29cfec
Merge pull request #21624 from vdimir/storage-s3-fail
...
Try to fix test_storage_s3: crash in WriteBufferFromS3
2021-03-16 13:38:48 +03:00
kssenii
4bdfc799f5
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into non-default-schema
2021-03-16 10:05:10 +00:00
Pavel Kovalenko
39f3b17041
Merge remote-tracking branch 'origin/master' into unfreeze-partitions
2021-03-16 10:56:24 +03:00
alesapin
8fd3fbc5b3
Merge pull request #20387 from Avogar/optimize-on-insert
...
Don't create empty parts on INSERT
2021-03-16 10:20:34 +03:00
Anton Popov
840417c957
Merge pull request #21685 from Avogar/reload-cluster-config
...
Update clusters only if their configs were updated
2021-03-15 20:09:58 +03:00
Mike Kot
406d037ebb
Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local
2021-03-15 18:41:47 +03:00
Vitaly Baranov
6153f52811
Merge pull request #21641 from vitlibar/allowed-grantees
...
Add new clause GRANTEES for CREATE/ALTER USER
2021-03-15 12:47:22 +03:00
Ilya Golshtein
abcf581005
avro bug with format_setting reference and a typo in kafka test
2021-03-15 12:19:33 +03:00
alesapin
caccc6da37
Add missing tests
2021-03-15 12:01:26 +03:00
tavplubix
6a265f468e
Merge branch 'master' into distributed_ddl_improvements
2021-03-15 11:24:14 +03:00
kssenii
bd38a7a021
Fix tests
2021-03-15 06:37:07 +00:00
kssenii
8688ae9346
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge
2021-03-14 19:32:21 +00:00
Vitaly Baranov
37ce6e26d3
Add a new clause GRANTEES to commands CREATE USER and ALTER USER.
2021-03-14 19:12:42 +03:00
alesapin
dad5238d7d
Merge pull request #16240 from ianton-ru/s3_zero_copy_replication
...
S3 zero copy replication
2021-03-14 18:19:37 +03:00
Ilya Golshtein
a579fcb424
kafka/avro works against table
2021-03-14 15:55:44 +03:00
kssenii
797063ae0f
Support non-default table schema for postgres storage/table-function
2021-03-14 10:35:10 +00:00
kssenii
8eea6a87e9
Support replicas priority for postgres dictionary source
2021-03-14 08:51:24 +00:00
Pavel Kruglov
3e3b5c64bf
add init file
2021-03-14 02:34:32 +03:00
alesapin
06eb2d8dfd
Merge branch 'master' into s3_zero_copy_replication
2021-03-13 22:32:54 +03:00
kssenii
5d953a4b86
Better
2021-03-12 21:48:52 +00:00
kssenii
886f9a5d9d
More tests
2021-03-12 21:22:46 +00:00
Pavel Kruglov
58e415c7d4
Update clusters only if their configs were updated
2021-03-13 00:17:19 +03:00
Azat Khuzhin
2e99dad562
Tiny "machine" cleanup of test_replace_partition
2021-03-12 21:10:16 +03:00
Azat Khuzhin
5af5c90b8b
Fix test_replace_partition flakiness
...
test_replace_partition/test.py::test_replace_after_replace_failover
statistics:
```sql
┌──────ymd─┬─success─┬─failure─┐
│ 20200613 │ 40 │ 2 │
│ 20200614 │ 98 │ 2 │
│ 20200615 │ 126 │ 9 │
│ 20200616 │ 141 │ 10 │
│ 20200617 │ 119 │ 7 │
│ 20200618 │ 87 │ 12 │
│ 20200619 │ 81 │ 9 │
...
│ 20210305 │ 60 │ 28 │
│ 20210306 │ 69 │ 7 │
│ 20210307 │ 42 │ 0 │
│ 20210308 │ 53 │ 8 │
│ 20210309 │ 137 │ 23 │
│ 20210310 │ 84 │ 14 │
│ 20210311 │ 81 │ 20 │
└──────────┴─────────┴─────────┘
```
2021-03-12 21:10:16 +03:00
kssenii
5602b82faa
Fix test
2021-03-12 14:07:20 +00:00
Anton Ivashkin
ace628d565
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into s3_zero_copy_replication
2021-03-12 12:58:32 +03:00
kssenii
4529b4792d
Fix typo
2021-03-12 09:56:03 +00:00
kssenii
571590fcfb
Update tests, dockerfile
2021-03-12 09:20:18 +00:00
tavplubix
2acbfd834a
Merge branch 'master' into stress_test_results
2021-03-12 12:11:33 +03:00
alexey-milovidov
9e0d53c0e6
Merge pull request #20058 from excitoon-favorites/remotehostfilterdisallowall
...
Fixed open behavior of remote host filter in case when there is `remote_url_allow_hosts` section in configuration but no entries there
2021-03-12 11:14:15 +03:00
alesapin
cca05da7fa
Merge pull request #16481 from amosbird/jbodbalance
...
Auto-balance big parts in JBOD array
2021-03-12 11:07:47 +03:00
alesapin
b98e27ba82
Merge branch 'master' into s3_zero_copy_replication
2021-03-12 11:07:20 +03:00
kssenii
9e0101e5fc
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into library-bridge
2021-03-12 07:47:22 +00:00
kssenii
4acaee2f38
Fix config
2021-03-12 07:12:38 +00:00
kssenii
1c8ad914e6
Fix
2021-03-11 18:10:12 +00:00
kssenii
5ff95e615d
Add tests
2021-03-11 18:05:08 +00:00
vdimir
2156401506
Remove unknown columns from joined table in where for queries to external database engines
2021-03-11 20:53:29 +03:00
Alexander Kuzmenkov
3e5447ccec
Merge pull request #21480 from Avogar/slowdown_count
...
Add slowdown_count and show actual errors_count in system.clusters
2021-03-11 17:18:05 +03:00
vdimir
1194d50e48
Try to fix test_storage_s3: crash in WriteBufferFromS3
2021-03-11 15:21:13 +03:00
Vladimir
08f312b1c4
Merge pull request #21457 from GrigoryPervakov/master
...
recreate S3 client if credentials changed
2021-03-11 15:18:39 +03:00
Nikita Mikhaylov
39b59e86b0
Merge pull request #21456 from nikitamikhaylov/zookeeper-secure-race
...
Fix race in SecureSocket
2021-03-10 20:49:56 +03:00
tavplubix
26ebd54eaf
Merge pull request #20961 from havardk/reconnect
...
MaterializeMySQL: Attempt to reconnect to MySQL if the connection is lost
2021-03-10 20:07:11 +03:00
Vitaly Baranov
7364fe4d4c
Merge pull request #21190 from vitlibar/quota-test-more-cases
...
Add more tests for quota consumption by the SHOW statement
2021-03-10 16:41:38 +03:00
Anton Ivashkin
cef0dda933
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into s3_zero_copy_replication
2021-03-10 14:10:29 +03:00
Pervakov Grigorii
eb87afc4d4
recreate S3 client if credentials changed
2021-03-10 13:36:57 +03:00
Alexander Tokmakov
ba3d51383c
fix
2021-03-10 00:41:04 +03:00
Amos Bird
e52b2fb8ae
update
2021-03-10 02:56:46 +08:00
Alexander Tokmakov
4d19c84d90
Merge branch 'master' into distributed_ddl_improvements
2021-03-09 20:06:41 +03:00
tavplubix
5a6cc876e4
Merge pull request #20626 from ClickHouse/fix_force_drop_materialized_view
...
Make force_drop_table work with MaterializedView
2021-03-09 20:05:51 +03:00
Alexander Tokmakov
83b3e4e0f5
allow to use Cluster from Replicated db
2021-03-09 20:05:24 +03:00
alesapin
bcd073278d
Merge pull request #21425 from ClickHouse/persistent_nukeeper_snapshot_storage
...
Persistent nukeeper snapshot storage
2021-03-09 18:37:23 +03:00
Vitaly Baranov
25b88afa66
Add more tests for quota consumption by the SHOW statement.
2021-03-09 18:01:34 +03:00
Nikita Mikhaylov
9684fed32a
better test
2021-03-09 16:24:53 +03:00
Nikita Mikhaylov
c38a690e8e
add multithreaded test
2021-03-09 16:24:53 +03:00
tavplubix
18db0e5683
trigger CI
2021-03-09 14:58:07 +03:00
alesapin
c00c8c36b7
Merge branch 'master' into ianton-ru-s3_zero_copy_replication
2021-03-09 10:59:11 +03:00
alesapin
dcc6c9d378
More tries to wait server start
2021-03-09 10:19:14 +03:00
alexey-milovidov
0a3275e169
Merge pull request #21496 from Felixoid/rollup_grow
...
Add check for growing age AND precision in rollup config
2021-03-09 07:31:07 +03:00
Alexander Tokmakov
2022b90919
configurable output mode for distributed DDL
2021-03-08 23:35:09 +03:00
Alexander Tokmakov
2484781070
fix MV recovery in Replicated db
2021-03-08 20:26:38 +03:00
Amos Bird
2ec20c5d23
update and add tests
2021-03-08 17:38:07 +08:00
alesapin
ef192ec310
Merge branch 'master' into persistent_nukeeper_snapshot_storage
2021-03-07 10:31:06 +03:00
Mikhail f. Shiryaev
efc04b29a6
Add check for growing age AND precision in rollup config
2021-03-06 18:35:53 +01:00
alesapin
a8b7469857
Fix session timeout update
2021-03-06 17:14:38 +03:00
alesapin
00c0d75b60
More easy test
2021-03-06 10:10:51 +03:00
Pavel Kruglov
dbae58f30b
Add slowdown_count and show actual information in system.clusters
2021-03-06 02:45:17 +03:00
alexey-milovidov
39bfcf220d
Merge pull request #21452 from ClickHouse/filimonov-patch-1
...
avoid race in librdkafka
2021-03-06 00:57:30 +03:00
Pavel Kruglov
19af94bad9
restart tests
2021-03-05 19:08:49 +03:00
Pavel Kruglov
c113af39f4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into secure-socket
2021-03-05 16:18:45 +03:00
Pavel Kruglov
ed6363b88b
Increase allowed query time
2021-03-05 16:18:12 +03:00
Alexander Tokmakov
e8987f799e
Merge branch 'fix_force_drop_materialized_view' into just_another_fix_for_ddl_worker
2021-03-05 15:59:27 +03:00
alesapin
c9c301e10c
Merge branch 'master' into persistent_nukeeper_snapshot_storage
2021-03-05 10:12:09 +03:00
Pavel Kruglov
271398be61
add __init__.py
2021-03-04 23:15:33 +03:00
tavplubix
9244bc43ee
Merge pull request #21021 from zhang2014/fix/materialize_mysql_integration_test
...
Try fix MaterializeMySQL integration test
2021-03-04 22:22:20 +03:00
filimonov
bd8c3eb117
avoid race in librdkafka
...
see https://github.com/edenhill/librdkafka/issues/3279
2021-03-04 15:01:10 +01:00
alesapin
ad77de2a60
Enable snapshots in dangerous tests
2021-03-04 16:45:44 +03:00
alesapin
aa754a3ca8
Test restore from snapshot
2021-03-04 16:40:43 +03:00
Anton Ivashkin
e69124a0a6
Merge master
2021-03-04 13:26:40 +03:00
Ilya Golshtein
f11a8cd13c
multimessage avro format for kafka test
2021-03-04 11:07:29 +03:00
Haavard Kvaalen
f96892d45c
Speed up network partition test
...
REJECT rather than DROP packets in network partition test. This test
was already very slow and could get slower with the newly added
reconnection logic.
2021-03-04 08:49:06 +01:00
Haavard Kvaalen
641b1b249e
Attempt to reconnect to MySQL
...
For MaterializeMySQL databases, attempt to reconnect if the connection
to MySQL is lost. The existing setting
`max_wait_time_when_mysql_unavailable` is used to control how often we
attempt to reconnect. This setting can now be set to a negative value
to disable reconnects.
2021-03-04 08:49:06 +01:00
alesapin
76e10a4fb1
Missed files for tests
2021-03-03 23:05:33 +03:00
Pavel Kruglov
1c7f16e0ff
Add test and move TimeoutSetter in IO/
2021-03-03 20:47:27 +03:00
alesapin
eb5e416fd5
Merge branch 'master' into persistent_nukeeper_snapshot_storage
2021-03-03 19:19:02 +03:00
alesapin
7e28bfeb9e
Fix log store start
2021-03-03 18:37:31 +03:00
Mike Kot
6ea574525c
Small fixes regarding the review
2021-03-03 16:51:41 +03:00
alesapin
869818d4ff
Better test
2021-03-03 16:18:28 +03:00
alesapin
186b39f0d5
Followup fix
2021-03-03 15:31:21 +03:00
alesapin
37fc5faa6f
Fix nasty serialization bug
2021-03-03 15:21:21 +03:00
alesapin
e615299ae6
Fix some bugs and add snapshots validation
2021-03-03 14:10:24 +03:00
Nikolai Kochetov
cb122160ae
Merge pull request #19291 from Avogar/hedged-requests
...
Implementation of HedgedRequests
2021-03-03 12:58:37 +03:00
Pavel Kruglov
d1524b749e
Fix tests
2021-03-03 01:24:41 +03:00
Pavel Kovalenko
483e63ca45
ALTER TABLE UNFREEZE rework.
2021-03-03 00:10:09 +03:00
Pavel Kruglov
4269eaa252
Change tests
2021-03-02 17:05:33 +03:00
Pavel Kruglov
4166ae1f45
Restart timeout when we make progress
2021-03-02 15:40:24 +03:00
Nikolai Kochetov
ffbea93b10
Merge pull request #19576 from traceon/row-policy-with-prewhere
...
Allow row policies with PREWHERE
2021-03-02 13:51:37 +03:00
Pavel Kruglov
153bfbfc28
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-03-02 11:59:32 +03:00
Mike Kot
4e1ac185b5
Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local
2021-03-01 20:58:07 +03:00
Mike Kot
6191580fe1
Added the PartitionManager to check that replica 1 attaches the local
...
data
2021-03-01 20:54:02 +03:00
Mike Kot
f3e340fcdf
Fixing the tests
2021-03-01 20:41:31 +03:00
Mike Kot
f088dd445d
Extended the test to check both the ALTER PARTITION and PART
...
Added some notes about the SYSTEM SYNC REPLICA and ALTER ... DROP /
ATTACH.
2021-03-01 20:41:31 +03:00
Mike Kot
5281314ac0
Finished the test draft for ATTACH PARTITION,
...
Extracted the part data corruption function into the helper.
2021-03-01 16:42:31 +03:00
Anton Ivashkin
98065ec56e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into s3_zero_copy_replication
2021-03-01 13:33:40 +03:00
Denis Glazachev
eb80c189e4
Merge branch 'master' into row-policy-with-prewhere
2021-02-28 20:14:31 +04:00
Azat Khuzhin
d42d4cfd6b
Improve test_distributed_ddl_parallel to cover more cases
...
Refs: #21264
2021-02-28 05:45:40 +03:00
Azat Khuzhin
a795db57f1
tests: decrease distributed_ddl_task_timeout to 60 in test_distributed_ddl_parallel
2021-02-28 05:45:11 +03:00
Azat Khuzhin
06e8bb955d
tests: catch exceptions in threads in test_distributed_ddl_parallel
...
Otherwise the test will not report an error.
2021-02-28 05:45:11 +03:00
Azat Khuzhin
b899d8d919
tests: regression for test for invalid reference to zookeeper for distributed_ddl.pool_size > 1
2021-02-28 05:45:11 +03:00
alexey-milovidov
9f0400f015
Merge pull request #21171 from azat/tests-bump-zookeeper
...
Bump zookeeper version to 3.6.2 in tests
2021-02-28 02:35:58 +03:00
alexey-milovidov
b8fba768e5
Merge pull request #21264 from ClickHouse/fix_zookeeper_update
...
Fix several bugs with ZooKeeper client
2021-02-28 01:57:04 +03:00
Pavel Kruglov
197058dc12
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-02-27 00:36:33 +03:00
Azat Khuzhin
bc1a316b28
Bump zookeeper version to 3.6.2 in tests
...
3.4.12 was released 1.05.2018
2021-02-26 23:41:43 +03:00
alesapin
a48bb7e3a0
Fix redundant zookeeper reconnect and possibility of multiple zookeeper session for a single ClickHouse server
2021-02-26 22:05:25 +03:00
alexey-milovidov
5ecd9a9577
Merge pull request #21111 from filimonov/better-kafka-tests
...
Better kafka tests
2021-02-26 21:30:35 +03:00
Pavel Kruglov
91f6f9227b
Small fixes and tests updates
2021-02-26 18:55:58 +03:00
tavplubix
09f62447af
Merge pull request #21060 from mxzlxy/fix-bug-for-replicated-engine-parameter
...
fix default_replica_path and default_replica_name values are useless …
2021-02-26 17:18:56 +03:00
Anton Ivashkin
5b267b7eec
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into s3_zero_copy_replication
2021-02-26 13:15:18 +03:00
Anton Ivashkin
c891cf4557
Fixes by review response
2021-02-26 12:48:57 +03:00
Mikhail Filimonov
9e3547681b
try to address python kafka client disconnects better
2021-02-26 07:17:31 +01:00
Mikhail Filimonov
60ede36068
simple fix for CI failure
2021-02-26 06:41:11 +01:00
Mikhail Filimonov
c4470ff283
proper placement for test
2021-02-26 06:38:14 +01:00
Alexander Tokmakov
d46fee0f04
Merge branch 'master' into stress_test_results
2021-02-26 00:24:22 +03:00
Alexander Tokmakov
f42beb4e6c
add test
2021-02-25 20:09:39 +03:00
alexey-milovidov
6a5ab40988
Merge pull request #21119 from fastio/bugfix_drop_metadata_from_auxiliary
...
fix the metadata leak when the Replicated*MergeTree with custom ZooKeeper cluster is dropped
2021-02-25 19:24:58 +03:00
Alexander Tokmakov
fbbb0c4b69
fix
2021-02-25 19:11:43 +03:00
Mikhail Filimonov
2bcfff257c
Remove most of sleeps in tests
2021-02-25 17:02:59 +01:00
Mikhail Filimonov
6c6eaf2a60
Fixes
2021-02-25 17:02:57 +01:00
Mikhail Filimonov
a4c9e62d6d
Integration tests: introduce wait_for_log_line.
...
It uses tail -f executed in container, this way i don't need to pull
the file many times, rememeber positions etc.
2021-02-25 17:02:56 +01:00
Mikhail Filimonov
32fa3dbc99
Integration tests: add IPC_LOCK and SYS_NICE caps
...
It is needed to make integration tests work with a installed binary (/usr/bin/clickhouse) mounted in.
Otherwise the binary mounted in have the capability, while the container is not allowing that
and you get cryptic message:
standard_init_linux.go:211: exec user process caused "operation not permitted"
2021-02-25 17:02:54 +01:00
Pavel Kovalenko
cf8b105d42
Merge remote-tracking branch 'origin/master' into unfreeze-partitions
2021-02-25 15:24:43 +03:00
alesapin
8f81dce32f
Merge pull request #20585 from ClickHouse/persistent_nukeeper_log_storage
...
Persistent coordination log storage
2021-02-25 10:06:03 +03:00
Alexander Tokmakov
65384f43d8
fix
2021-02-25 10:02:45 +03:00
fastio
24321c28f6
add test case
2021-02-25 14:19:58 +08:00
Alexander Tokmakov
efd50a819b
fix
2021-02-25 02:09:09 +03:00
Alexander Tokmakov
3632c1d879
add flacky check runner
2021-02-24 19:41:44 +03:00
Pavel Kovalenko
078dfce038
Add ALTER TABLE UNFREEZE command.
2021-02-24 17:28:30 +03:00
Alexander Tokmakov
f41e68d118
fix style check
2021-02-23 23:15:11 +03:00
Alexander Tokmakov
7a6c9ceeef
fix
2021-02-23 15:25:28 +03:00
Alexander Tokmakov
7bcec2947f
fix
2021-02-23 13:48:06 +03:00
Kseniia Sumarokova
b2850ec94f
Merge branch 'master' into fix-postgres-numeric
2021-02-23 11:40:28 +03:00
alesapin
ddc9fb151e
Fix tests
2021-02-23 11:37:27 +03:00
Alexander Tokmakov
d5ea345aa9
add integration tests runner
2021-02-23 10:26:23 +03:00
alesapin
5b888e1193
Merge branch 'master' into persistent_nukeeper_log_storage
2021-02-22 23:52:26 +03:00
alesapin
74a07e406b
Even more stable
2021-02-22 10:33:27 +03:00
Winter Zhang
521891edec
Update materialize_with_ddl.py
2021-02-22 12:47:38 +08:00
alexey-milovidov
e1c4ba0169
Merge pull request #21016 from azat/integration-test_materialize_mysql_database
...
Preserve mysql logs in test_materialize_mysql_database
2021-02-21 22:28:19 +03:00
Kruglov Pavel
815b4ff0d9
Merge branch 'master' into hedged-requests
2021-02-21 17:10:24 +03:00
Pavel Kruglov
dd5185c779
Refactor 4.0
2021-02-21 17:03:24 +03:00
alexey-milovidov
20a7ccf5b1
Merge pull request #20174 from amosbird/alias
...
Normalized function names (lower-case case-insensitive names)
2021-02-21 16:23:51 +03:00
Denis Glazachev
c1158b50f4
Merge branch 'master' into row-policy-with-prewhere
...
* master: (155 commits)
Update version_date.tsv after release 20.8.13.15
Update version_date.tsv after release 20.12.7.3
Update version_date.tsv after release 21.1.5.4
Update version_date.tsv after release 21.2.4.6
fix
Add test to skip list
Fix WriteBufferFromHTTPServerResponse usage in other places (add missing finalize())
Fix WriteBufferFromHTTPServerResponse usage in odbc-bridge
Update config.xml
Suppress signed overflow in AggregateFunctionGroupArrayMoving 2
Update BaseDaemon.cpp
review suggestions
Fix bash syntax in 01731_async_task_queue_wait
Do not use view() in 01731_async_task_queue_wait to fix ANTLR parser
Increase buffer for uncaught exception / std::terminate
Even more better
Fix uncaught exception when HTTP client goes away
test for decimal ( p , s) in dictionaries
Just little better
Fixed style check
...
2021-02-21 13:25:47 +04:00
Denis Glazachev
4f57b68563
Fix the test
2021-02-21 13:22:41 +04:00
Denis Glazachev
dda1eb1f00
Fix the test
2021-02-21 13:17:58 +04:00
zhang2014
4529cdac81
try fix MaterializeMySQL integration test
2021-02-21 14:38:29 +08: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
Denis Glazachev
ce6d2ff724
Fix the test
2021-02-20 22:14:12 +04:00
tavplubix
103d569885
Merge branch 'master' into fix_force_drop_materialized_view
2021-02-20 20:41:03 +03:00
tavplubix
a697b578bc
Merge pull request #16193 from ClickHouse/database_replicated
...
DatabaseReplicated: continuation of #10485
2021-02-20 19:39:34 +03:00
alesapin
c61769311e
Merge branch 'master' into persistent_nukeeper_log_storage
2021-02-20 10:22:22 +03:00
kssenii
f820047cc8
Fix
2021-02-20 06:52:10 +00:00
alexey-milovidov
b4196c8e68
Merge pull request #20168 from ClickHouse/in-memory-compression
...
Compression for Memory tables
2021-02-20 09:49:37 +03:00
Denis Glazachev
8361904b4d
Add cases for throwIf()
2021-02-20 10:47:29 +04:00
Denis Glazachev
2ab643170d
Add 'SETTINGS optimize_move_to_prewhere = 0' in WHERE-only SELECTs
2021-02-20 00:45:19 +04:00
tavplubix
057c87f322
Update test.py
2021-02-19 22:32:50 +03:00
alesapin
7ee72dfd0c
Missed tests
2021-02-19 22:24:20 +03:00
alexey-milovidov
2299930c31
Merge pull request #20545 from kssenii/rabbit-format-settings
...
rabbitmq: add missing format factory settings
2021-02-19 20:24:17 +03:00
Alexander Tokmakov
5cfd687dfb
fix
2021-02-19 19:22:47 +03:00
Denis Glazachev
8cc72b8fe0
Merge branch 'master' into row-policy-with-prewhere
...
* master: (160 commits)
Make Poco HTTP Server zero-copy again (#19516 )
Fixed documentation
ccache 4.2+ does not requires any quirks for SOURCE_DATE_EPOCH
Add a function `htmlOrXmlCoarseParse` to extract content from html or xml format string. (#19600 )
Reinterpret function added Decimal, DateTim64 support
Add test
Update InterpreterSelectQuery.cpp
Improved serialization for data types combined of Arrays and Tuples. Improved matching enum data types to protobuf enum type. Fixed serialization of the Map data type. Omitted values are now set by default.
Log stdout and stderr when failed to start docker in integration tests.
Added comment
Don't backport base commit of branch in the same branch (#20628 )
Fix fasttest retry for failed tests
Dictionary create source with functions crash fix
Added error reinterpretation tests
Update run.sh
Updated documentation
fix subquery with limit
Rename untyped function reinterpretAs into reinterpret
ignore data store files
Support vhost
...
2021-02-19 19:49:37 +04:00
Denis Glazachev
bfccfd9eec
Fix tests
...
Add tests
WIP: Failures are legit!
2021-02-19 19:32:35 +04:00
kssenii
30f0e48777
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix-postgres-numeric
2021-02-19 14:53:27 +00:00
Alexey Milovidov
a9d9a6d56f
Merge branch 'master' into in-memory-compression
2021-02-19 12:01:33 +03:00
Alexey Milovidov
8e8a81883e
Merge branch 'master' into in-memory-compression
2021-02-19 11:59:11 +03:00
Denis Glazachev
879d9206c1
Add tests for row-level security with prewhere
2021-02-19 02:47:28 +04:00
Alexander Tokmakov
8097532cb7
Merge branch 'master' into database_replicated
2021-02-18 17:42:06 +03:00
alesapin
1245710aed
Merge branch 'master' into persistent_nukeeper_log_storage
2021-02-18 15:27:01 +03:00
Amos Bird
77fd060665
Normalize function names
2021-02-18 20:20:28 +08:00
kssenii
2aad067e7c
Support conversion for postgres numeric without precision and scale
2021-02-18 12:16:58 +00:00
alesapin
7f815325ba
More tests for broken changelog read
2021-02-18 14:42:09 +03:00
Kruglov Pavel
142a541361
Merge branch 'master' into hedged-requests
2021-02-18 14:23:00 +03:00
Kruglov Pavel
419962dbfb
Merge pull request #20712 from kssenii/add-test
...
Add test for already fixed odbc Postgres date type conversion
2021-02-18 13:43:17 +03:00
alesapin
5b597fdf44
Force sync setting and ability to start with broken log
2021-02-18 13:23:48 +03:00
Ilya Yatsishin
bc1f564d55
Merge pull request #20631 from vitlibar/verbose-message-on-fail-to-start-docker
...
Log stdout and stderr when failed to start docker in integration tests
2021-02-18 07:54:58 +03:00
Alexey Milovidov
9069318fa6
Merge branch 'master' into in-memory-compression
2021-02-18 00:48:39 +03:00
kssenii
732a1d9ceb
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-test
2021-02-17 21:29:04 +00:00
kssenii
62486d6e06
Add test
2021-02-17 19:02:57 +00:00
Pavel Kruglov
e19f62f645
Merge branch 'hedged-requests' of github.com:Avogar/ClickHouse into hedged-requests
2021-02-17 20:44:32 +03:00
Pavel Kruglov
bc6fe4f28c
Minor fixes
2021-02-17 20:44:11 +03:00
Kruglov Pavel
794c3449ca
Merge branch 'master' into hedged-requests
2021-02-17 20:36:36 +03:00
Pavel Kruglov
1b78de2142
Use fibers in HedgedRequests
2021-02-17 20:34:52 +03:00
Vitaly Baranov
c704a8cc45
Log stdout and stderr when failed to start docker in integration tests.
2021-02-17 20:07:03 +03:00
Kseniia Sumarokova
20ff183549
Merge branch 'master' into rabbit-format-settings
2021-02-17 19:01:53 +03:00
alesapin
2de201dd5f
Merge branch 'fix_fast_test_retry' into persistent_nukeeper_log_storage
2021-02-17 17:51:50 +03:00
Alexander Tokmakov
13ae988eff
make force_drop_table work with materialized view
2021-02-17 17:23:07 +03:00
alesapin
499c100b12
Better test
2021-02-17 16:41:43 +03:00
alesapin
e82bd824d7
Fix restart replica in test
2021-02-17 16:07:59 +03:00
alesapin
9396bae2e2
More reliable test keeper tests
2021-02-17 14:53:47 +03:00
Vitaly Baranov
753f5b84d9
Merge pull request #20106 from vitlibar/fix-quota-consuming
...
Fix quota consuming
2021-02-17 12:52:43 +03:00
alexey-milovidov
6363d44488
Merge pull request #20498 from azat/dist-parse-dirs-sigsegv-fix
...
Add proper checks while parsing directory names for async INSERT (fixes SIGSEGV)
2021-02-17 09:43:11 +03:00
kssenii
d79f7c04f6
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into rabbit-format-settings
2021-02-17 06:03:19 +00:00
Vitaly Baranov
298130402e
SYSTEM queries now consume quota.
2021-02-16 23:54:05 +03:00
Vitaly Baranov
f83be158ba
SHOW TABLES is now considered as one query in the quota calculations, not two queries.
2021-02-16 23:53:58 +03:00
alesapin
8717dbd0e2
Missed configs
2021-02-16 22:29:09 +03:00
tavplubix
68b427a99d
Merge pull request #20448 from ClickHouse/better_ddl_queue_cleanup
...
Better distributed DDL queue cleanup
2021-02-16 19:29:50 +03:00
Mike Kot
362bd3a2ae
Merge remote-tracking branch 'upstream/master' into feature/attach-partition-local
2021-02-16 16:39:50 +03:00
Mike Kot
fefc7234df
Replaced the part lookup algo to "by hash only", comments on test stub
2021-02-16 16:00:26 +03:00
Pavel Kruglov
0e1d67ad9a
Add LOG_DEBUG to debug test_distributed_load_balancing
2021-02-16 10:56:45 +03:00
Alexander Tokmakov
bf6f64a3fb
Merge branch 'master' into database_replicated
2021-02-16 01:28:19 +03:00
kssenii
2a887b9772
Add missing format factory settings
2021-02-15 22:06:10 +00:00
Mike Kot
8182482cbd
Add test stub
2021-02-15 21:06:20 +03:00
Azat Khuzhin
8d11d09615
Add a test for malformed directores for Distributed async INSERT
2021-02-15 21:00:50 +03:00
Kruglov Pavel
598576ce70
Merge branch 'master' into hedged-requests
2021-02-15 16:51:45 +03:00
Pavel Kruglov
df09a5cac9
Refactor 3.0 and fix tests
2021-02-15 16:21:36 +03:00
Alexander Tokmakov
9c7cf9e92e
remove some debug code
2021-02-15 13:26:34 +03:00
alesapin
9686649b02
Fix non-zero session reconnect in integration test
2021-02-15 12:42:50 +03:00
Alexander Tokmakov
320fd6b264
startup without zk
2021-02-15 03:04:46 +03:00
Alexey Milovidov
b13d1f3142
Fix integration test
2021-02-14 04:34:42 +03:00
Denis Glazachev
99a04b6c64
Merge branch 'master' into row-policy-with-prewhere
...
* master: (759 commits)
Suppress UBSan report in Decimal comparison
Suppress UBSan report in Decimal comparison
Fix UBSan report in arrayDifference
Update README.md
Non significant change in AggregationCommon
Print stack trace on SIGTRAP
Fix dependent test
Fix tests for better parallel run
Add test for already working code
Revert "Fix access control manager destruction order"
Update index.md
Update index.md
Update index.md
Bit more complicated example for isIPv4String - ru
Bit more complicated example for isIPv4String
cleanup
Replace database with ordinary
Added comments
Split tests to make them stable
Fixes
...
# Conflicts:
# src/Storages/MergeTree/MergeTreeRangeReader.cpp
2021-02-14 02:24:00 +04:00
Alexander Tokmakov
96cc01926c
Merge branch 'master' into better_ddl_queue_cleanup
2021-02-14 00:22:09 +03:00
alesapin
f80137626a
Merge pull request #19580 from ClickHouse/in_memory_raft
...
In memory coordination inside ClickHouse
2021-02-13 10:19:23 +03:00
alexey-milovidov
2fe2190a20
Merge pull request #19721 from azat/buffer-profile
...
Add separate config directive for Buffer profile
2021-02-13 02:43:41 +03:00
alexey-milovidov
371e84957a
Merge pull request #20303 from azat/constant-folding-fixes
...
Do not allow early constant folding of explicitly forbidden functions
2021-02-13 02:20:06 +03:00
Alexander Tokmakov
184ec67dac
better ddl queue cleanup
2021-02-12 22:23:50 +03:00
Alexander Tokmakov
f64f9b672b
fix
2021-02-12 19:22:01 +03:00
alesapin
6aecb62416
Replace database with ordinary
2021-02-12 12:17:10 +03:00
alesapin
c883b7d154
Split tests to make them stable
2021-02-12 11:50:20 +03:00
alexey-milovidov
4e32dbd024
Merge pull request #19317 from abyss7/dwarf-folly
...
Print inline frames for fatal stacktraces
2021-02-12 02:38:50 +03:00
Alexander Tokmakov
c9cf63e958
fix
2021-02-12 01:23:40 +03:00
alesapin
df181b534e
Better connection reset
2021-02-11 23:29:01 +03:00
alesapin
5f32f65211
Merge branch 'master' into in_memory_raft
2021-02-11 23:09:29 +03:00
Azat Khuzhin
3993ad6f01
Fix test_system_merges by using mutations_sync=1
...
After early_constant_folding started to ignore not only ignore(), but
all functions with isSuitableForConstantFolding() == false, there became
more sleep(2) calls for this test:
- MergeTreeDataSelectExecutor::readFromParts -> DB::KeyCondition::KeyCondition
- MergeTreeDataMergerMutator::mutatePartToTemporaryPart -> DB::isStorageTouchedByMutations -> FilterTransform::transform
- MergeTreeDataMergerMutator::mutatePartToTemporaryPart -> DB::MergeTreeDataMergerMutator::mutateAllPartColumns -> FilterTransform::transform
While before it was optimized to 0 during WHERE analysis.
2021-02-11 22:46:56 +03:00
alesapin
99a471e047
Add ability to start as follower
2021-02-11 13:25:10 +03:00
alesapin
0acd018361
Fix typo
2021-02-11 12:58:02 +03:00
alesapin
74630acff5
More debug in test
2021-02-11 12:49:49 +03:00
alesapin
b49b7f859d
Simplify startup with fixed config
2021-02-11 12:17:57 +03:00
Alexander Tokmakov
15256d86e5
better replica recovery and queue cleanup
2021-02-10 23:30:40 +03:00
Azat Khuzhin
e2d5972eca
Cover buffer_profile config directive
2021-02-10 22:44:26 +03:00
Ivan
bc58f4827f
Increase timeout in tests
2021-02-10 17:45:45 +03:00
alesapin
c95140d906
Better startup and non-verbose logging by default
2021-02-10 12:28:53 +03:00
Ilya Yatsishin
1fdc59b453
Merge pull request #20248 from qoega/integration-2
2021-02-10 08:46:20 +03:00
alesapin
7848f0202c
One more test
2021-02-10 00:02:34 +03:00
alesapin
51c221f993
Fix outdated session kill
2021-02-09 21:29:06 +03:00
Yatsishin Ilya
3ba6629d7b
add stable sort for tests
2021-02-09 18:48:33 +03:00
Yatsishin Ilya
eac13d9d9d
Add retries to test_access_control_on_cluster
2021-02-09 18:37:33 +03:00
Alexander Tokmakov
2c6a0e74fb
better replica creation
2021-02-09 18:14:20 +03:00
alesapin
b130fbfd78
Add coordination settings
2021-02-09 17:47:18 +03:00
alesapin
9667bdcbd2
Merge branch 'master' into in_memory_raft
2021-02-09 16:06:31 +03:00
Pavel Kruglov
46840b0a4f
Add __init__.py
2021-02-09 00:47:13 +03:00
Nicolae Vartolomei
84489b8243
Improve replicated fetches timeouts test and make it 3x faster
2021-02-08 21:19:32 +00:00
Alexander Tokmakov
5e0cbfe972
Merge branch 'master' into database_replicated
2021-02-08 23:01:12 +03:00
Nicolae Vartolomei
6181daf92d
Workaround for drop not finishing if it is started while table is readonly
2021-02-08 19:44:03 +00:00
Nicolae Vartolomei
f39eef9227
Reformat test and drop tables at the end to reduce the size of test results archive
2021-02-08 19:44:03 +00:00
Nicolae Vartolomei
165ba59a15
Increase network delay and add more info to logs for debugging
...
CI behaviour is different from my test environment
2021-02-08 19:44:03 +00:00
Nicolae Vartolomei
75fca08b2a
Update test_replicated_fetches_network_partition with new settings
2021-02-08 19:44:03 +00:00
Nicolae Vartolomei
b153e8c190
Add support for custom fetchPart timeouts
2021-02-08 19:44:02 +00:00
Nicolae Vartolomei
813092ff55
Test replicated fetches_network partition
2021-02-08 19:44:02 +00:00
Alexander Tokmakov
78c1d69b8c
better code
2021-02-08 22:36:17 +03:00
Ivan Lezhankin
00bb0e6b35
Skip send_crash_reports test with TSAN
2021-02-08 18:46:48 +03:00
Ivan Lezhankin
a287443438
Merge remote-tracking branch 'upstream/master' into dwarf-folly
2021-02-08 18:36:41 +03:00
alesapin
2413d6bd38
Test multinode watches
2021-02-08 16:26:06 +03:00
Pavel Kruglov
12b925dd7a
Small update
2021-02-08 14:06:45 +03:00
Anton Ivashkin
1b6ce056a5
Merge master
2021-02-08 12:34:20 +03:00
alesapin
d5ee7d33e9
Merge branch 'master' into in_memory_raft
2021-02-08 10:30:31 +03:00
Vladimir Chebotarev
098a6d6a05
Added test for S3 table function.
2021-02-08 09:22:00 +03:00
JackyWoo
77c0f0a0e7
add quota type QUERY_SELECTS and QUERY_INSERTS
2021-02-07 10:57:18 +08:00
Pavel Kruglov
f946aab759
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-02-06 17:38:56 +03:00
tavplubix
1c5d6bbe44
Merge pull request #20051 from stigsb/materializemysql-system-tables-fix
...
Show details of MaterializeMySQL tables in `system.tables`
2021-02-06 14:50:11 +03:00
alesapin
011109c82a
Merge pull request #17348 from xjewer/alex/CLICKHOUSE-606_deduplication_UUID
...
CLICKHOUSE-606: query deduplication based on parts' UUID
2021-02-05 22:47:34 +03:00
Anton Ivashkin
e64c63c611
Merge master
2021-02-05 20:10:06 +03:00
Stig Bakken
3fc1641d91
Show details of MaterializeMySQL tables in system.tables
2021-02-05 21:37:29 +08:00
tavplubix
f59dc7f40d
Merge pull request #20066 from havardk/multi-table-update
...
Fix handling of TABLE_MAP_EVENT from MySQL
2021-02-05 13:11:59 +03:00
vdimir
30f98795bc
Merge remote-tracking branch 'upstream/master' into disk-s3-backup-restore-metadata
2021-02-04 18:38:28 +03:00
alesapin
933105a667
Fix session timeout
2021-02-04 16:31:38 +03:00
alesapin
d85e9b496c
Fix gcc-10 build
2021-02-04 16:22:30 +03: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
alesapin
9c04d912ec
Merge branch 'master' into in_memory_raft
2021-02-04 11:50:32 +03:00
alesapin
e7a83868dd
Fix build
2021-02-04 11:28:11 +03:00
Vladimir Chebotarev
f106d58c05
Minor fix.
2021-02-04 10:41:47 +03:00
Vladimir Chebotarev
a597ed0ff0
Fixed open behavior of remote host filter in case when there is remote_url_allow_hosts section in configuration but no entries there.
2021-02-04 09:34:31 +03:00
alesapin
1ff87ac6f9
Add background session lifetime control
2021-02-03 23:32:15 +03:00
alexey-milovidov
402c018d1e
Merge pull request #19947 from azat/dist-INSERT-block-structure-mismatch
...
Fix "Block structure mismatch" for INSERT into Distributed
2021-02-03 21:27:45 +03:00
Alexander Tokmakov
d010f97db0
Merge branch 'master' into database_replicated
2021-02-03 20:13:25 +03:00
Pavel Kovalenko
b7151aa754
Merge remote-tracking branch 'origin/master' into disk-s3-backup-restore-metadata
...
# Conflicts:
# src/Disks/DiskDecorator.h
# src/Disks/IDisk.h
# src/Disks/S3/DiskS3.cpp
2021-02-03 14:22:18 +03:00
alexey-milovidov
830b0eb36e
Merge pull request #19974 from qoega/kerberized-hdfs-port-clash
...
Fixed port clash from test_storage_kerberized_hdfs test.
2021-02-03 10:16:14 +03:00
alesapin
6743dd4656
Same for the first test
2021-02-02 22:56:07 +03:00
Alexander Tokmakov
6456ccf0da
better test
2021-02-02 22:39:04 +03:00
alesapin
1e0a528bac
Fix possible test flakyness
2021-02-02 22:33:57 +03:00