Commit Graph

10031 Commits

Author SHA1 Message Date
Julia Kartseva
528187410f
Merge pull request #65751 from jkartseva/store-plain-rw-metadata-separately
Store `plain_rewritable` disk metadata in the separate `'__meta'` layout; add flat object storage directory structure
2024-08-02 11:52:59 +00:00
robot-clickhouse
34cba1bdda Automatic style fix 2024-08-02 11:46:12 +00:00
Michael Stetsyuk
7d45529fe8 randomize query id in test_checking_s3_blobs_paranoid 2024-08-02 12:37:40 +01:00
Nikita Fomichev
7d1e958097 Integration tests: fix ports clashing problem 2024-08-02 13:32:59 +02:00
Michael Stetsyuk
092c837119 randomize table name in test_storage_delta 2024-08-02 12:14:37 +01:00
vdimir
02e4843605
test_cache_evicted_by_temporary_data drop cache 2024-08-02 10:37:52 +00:00
Antonio Andelic
76e2e886db Merge branch 'master' into fix-udf-reload 2024-08-02 12:37:13 +02:00
Andrey Zvonov
064c0eb958 even better healthcheck for ldap 2024-08-02 10:35:32 +00:00
vdimir
eb3fd60f3e
Trying to fix test_cache_evicted_by_temporary_data and print debug info 2024-08-02 10:18:52 +00:00
Antonio Andelic
6c8f458b0b Fix reloading SQL UDFs with UNION 2024-08-02 11:13:41 +02:00
Michael Stetsyuk
9c05a0ad5a rm dirs in test_storage_delta 2024-08-02 09:34:32 +01:00
Pablo Marcos
dc65c0aa07 Fix doc for parallel test execution
Copy-pasterino strikes again. I forgot to remove the single quote.
With it, pytest thinks the whole argument is a file:

(no name '/ClickHouse/tests/integration/test_storage_s3_queue/test.py::test_max_set_age -- --count 10 -n 5' in any of [<Module test.py>])
2024-08-02 07:17:09 +00:00
Antonio Andelic
774cba09df Fix flaky test_replicated_table_attach 2024-08-02 08:49:47 +02:00
Julia Kartseva
d6da86dad2 Store plain_rewritable metadata in a separate layout 2024-08-02 04:28:07 +00:00
Alexey Katsman
a596f0b6d1
Merge pull request #67506 from alexkats/fix-mask
[Green CI] Fix potentially flaky test_mask_sensitive_info integration test
2024-08-01 20:55:56 +00:00
Antonio Andelic
1d8e886d7b
Merge pull request #67448 from ClickHouse/keeper-map-retries
Add Keeper retries in `KeeperMap`
2024-08-01 17:19:19 +00:00
Antonio Andelic
bf98336819
Merge pull request #67595 from ClickHouse/update-minio
Update minio in integration tests
2024-08-01 16:19:28 +00:00
Alexey Milovidov
3603252f03 Merge branch 'master' into enable-text-log 2024-08-01 17:34:21 +02:00
Alex Katsman
0913f0189b Don't count a search query as a search pattern match 2024-08-01 14:08:50 +00:00
Michael Stetsyuk
1d85f9b1cb fix remove_local_directory_contents 2024-08-01 14:58:11 +01:00
Alexander Tokmakov
c0bd2120c8
Merge pull request #66519 from XuJia0210/feature_disable_insertion_and_mutation
Feature disable insertion and mutation
2024-08-01 13:35:25 +00:00
Vitaly Baranov
67f85fb43b
Merge pull request #67494 from vitlibar/fix-test_mutation
Fix test test_backup_restore_on_cluster/test.py::test_mutation
2024-08-01 12:49:47 +00:00
maxvostrikov
a8e7c8ae9a fix for parallel execution 2024-08-01 14:45:46 +02:00
Alexander Tokmakov
3e61ff2553
Merge pull request #67590 from pamarcos/fix-test_zookeeper_config_load_balancing
Fix test_zookeeper_config_load_balancing after adding the xdist worker name to the instance
2024-08-01 12:13:04 +00:00
Kseniia Sumarokova
2c018d6f4d
Update cluster.py 2024-08-01 13:38:41 +02:00
robot-clickhouse
572ad2f6fe Automatic style fix 2024-08-01 11:12:00 +00:00
maxvostrikov
928d5df3f0 added tests for https://github.com/ClickHouse/ClickHouse/pull/65475
Support writting page index into parquet file
2024-08-01 12:32:43 +02:00
Antonio Andelic
c77f6d78d9 Update minio 2024-08-01 12:09:58 +02:00
Pablo Marcos
da3a37c561 Improve regex to take into account the xdist name in the instance 2024-08-01 09:38:34 +00:00
Robert Schulze
64526e6e3a
Merge pull request #67435 from rschu1ze/multiquery-followup
Remove obsolete `--multiquery` parameter from tests
2024-08-01 09:12:41 +00:00
Antonio Andelic
7db4065898 Add retries to create 2024-08-01 10:34:53 +02:00
Antonio Andelic
c2df527a32 Reduce fault rate 2024-08-01 08:42:54 +02:00
Antonio Andelic
d571e517fa Merge branch 'master' into keeper-map-retries 2024-08-01 08:41:06 +02:00
János Benjamin Antal
0e36db5437 Do not check the value of num_messages_read because it is not reliable
librdkafka usually polls both messages on the first SELECT, but sometimes only one. If it polls only one message first, then it will read two messages before rebalancing at the second SELECT from the table. This means it usually reads a single message twice (thus num_messages_read = 4 is usually fine as 1 discarded message + 3 actually consumed message). But when only one message is read in the first SELECT, then 2 messages are discarded, thus num_messages_read will be 5 as 2 discarded message + 3 actually consumed messages.
2024-07-31 22:09:04 +00:00
Alexey Milovidov
26e42036b3 Merge branch 'master' into enable-text-log 2024-07-31 22:46:56 +02:00
Pablo Marcos
3332faa014
Merge pull request #67035 from pamarcos/fix-flaky-test_storage_s3_queue-test_max_set_age
[Green CI] Fix test test_storage_s3_queue/test.py::test_max_set_age
2024-07-31 16:09:34 +00:00
Robert Schulze
d0a030f03e
Merge remote-tracking branch 'ClickHouse/master' into multiquery-followup 2024-07-31 15:39:33 +00:00
divanik
67f4792b77 Style check 2024-07-31 14:16:40 +00:00
Michael Stetsyuk
27f4f468b9 make it possible to rerun test_recovery_time_metric multiple times 2024-07-31 14:55:00 +01:00
robot-clickhouse
7dbd3d7534 Automatic style fix 2024-07-31 13:51:48 +00:00
Michael Stetsyuk
31c142a96d make it possible to rerun test_storage_delta and test_checking_s3_blobs_paranoid 2024-07-31 14:44:54 +01:00
Antonio Andelic
6b7c5eb5da Fix drop 2024-07-31 14:43:58 +02:00
Pablo Marcos
15e0033016 Bring back the strict check
Also update the doc.
2024-07-31 12:09:52 +00:00
divanik
d5f8540fbb Fix 2024-07-31 12:00:09 +00:00
Vitaly Baranov
debcc2e610 Fix test test_mutation 2024-07-31 12:31:52 +02:00
Raúl Marín
4e2f8576e5
Revert "Add settings to replace external engines to Null during create" 2024-07-31 11:50:58 +02:00
Robert Schulze
85fd9fc377
Merge remote-tracking branch 'ClickHouse/master' into multiquery-followup 2024-07-31 07:49:55 +00:00
Antonio Andelic
e65cdcea1b Merge branch 'master' into keeper-map-retries 2024-07-31 09:22:53 +02:00
Antonio Andelic
34ddcdcc64
Merge pull request #67360 from ClickHouse/fix-test_replicated_table_attach
Fix attaching replicated table after exception during startup
2024-07-31 06:59:32 +00:00
Alexey Milovidov
4aedb9d402 Update test 2024-07-30 23:02:22 +02:00
Michael Stetsyuk
8d2b804c67 fxs 2024-07-30 21:57:08 +01:00
Vitaly Baranov
6c730a366e
Merge pull request #67231 from vitlibar/fix-test_broken_projections
Remove test test_broken_projections_in_backups_1
2024-07-30 17:26:44 +00:00
Michael Stetsyuk
aa26291ff2 fxs 2024-07-30 18:15:24 +01:00
Antonio Andelic
19ac2b2cdd Merge branch 'master' into keeper-map-retries 2024-07-30 16:53:01 +02:00
Antonio Andelic
7d5c30e76c No retries when partitioned 2024-07-30 16:26:19 +02:00
Sergei Trifonov
05f1d122b1
Merge pull request #67232 from azat/dashboard-from-config-resubmit
Add ability to load dashboards for system.dashboards from config
2024-07-30 13:18:22 +00:00
Michael Stetsyuk
8b52d7b711 fxs 2024-07-30 13:35:19 +01:00
divanik
de99ee1b05 Change docs 2024-07-30 12:07:31 +00:00
Antonio Andelic
0124d211ec Better 2024-07-30 14:00:52 +02:00
divanik
fd075470d6 Add docs 2024-07-30 11:54:00 +00:00
Antonio Andelic
eb129b539f Add tests 2024-07-30 13:48:14 +02:00
Robert Schulze
d4d3d590e3
Remove obsolete --multiquery parameter from tests 2024-07-30 11:04:41 +00:00
Nikita Fomichev
b1e80883f0 accept_invalid_certificate in client config: additional testing
#65238
2024-07-30 11:57:42 +02:00
Alexey Milovidov
95a5dc6f34
Merge pull request #66536 from qoega/external-replace-to-null
Add settings to replace external engines to Null during create
2024-07-30 09:03:35 +00:00
Antonio Andelic
861bdb51f8 Fix test 2024-07-30 09:43:03 +02:00
Antonio Andelic
a471ee16e1 Merge branch 'master' into fix-test_replicated_table_attach 2024-07-30 08:46:27 +02:00
Alexey Milovidov
5bb20f4c1c
Merge pull request #67336 from vitlibar/fix-test_disallow_concurrency
Fix test `test_backup_restore_on_cluster/test_disallow_concurrency`
2024-07-30 01:30:27 +00:00
jsc0218
10fe3e6c55
Merge pull request #65419 from jsc0218/ClearExceptionMsgTableEngineGrant
Clear Hint in Table Engine and Sources
2024-07-29 23:26:06 +00:00
Vitaly Baranov
8dfe4a93f6 Rewrite function get_broken_projections_info() without using system.errors 2024-07-29 23:44:52 +02:00
Ilya Yatsishin
06b3185e57 fixes 2024-07-29 20:05:29 +02:00
Alexey Milovidov
04447945ac
Merge pull request #66506 from ClickHouse/ast-data-type
Introduce `ASTDataType`
2024-07-29 16:08:11 +00:00
robot-clickhouse
f7f2a9872d Automatic style fix 2024-07-29 16:02:14 +00:00
János Benjamin Antal
28ae671875 Print debug info 2024-07-29 15:52:25 +00:00
Ilya Yatsishin
efa218b534 address comments 2024-07-29 15:54:54 +02:00
Ilya Yatsishin
307e1be999 Merge remote-tracking branch 'origin/master' into external-replace-to-null 2024-07-29 15:48:43 +02:00
jsc0218
4df64a40e2 Merge remote-tracking branch 'origin/master' into ClearExceptionMsgTableEngineGrant 2024-07-29 13:17:48 +00:00
Antonio Andelic
aa50bb0987 Fix attach thread after exception 2024-07-29 13:55:16 +02:00
Vitaly Baranov
634c513ba7 Fix cleanup in test_backup_restore_on_cluster/test.py::test_system_functions 2024-07-29 13:19:24 +02:00
Pablo Marcos
ba63bd1de7 Merge branch 'master' into fix-flaky-test_storage_s3_queue-test_max_set_age 2024-07-29 11:15:31 +00:00
Pablo Marcos
4cf7e6a79d Remove logging traces to help debugging 2024-07-29 11:15:03 +00:00
Vitaly Baranov
6c104e7c73 Simplify test test_backup_restore_on_cluster/test_disallow_concurrency 2024-07-29 13:12:05 +02:00
Vitaly Baranov
8f6a8b7ad6 Fix test test_backup_restore_on_cluster/test_disallow_concurrency 2024-07-29 13:12:05 +02:00
Pablo Marcos
5b9427dc56 Fix test flakiness
- Increase from 10s to 20s the max_age. Removes flakiness due to
  the files in minio still present in following execution, even
  if the cleanup stage of the test is clearly removing them.
- Use a busy-loop to check conditions directly, removing the
  unnecessary sleep.
2024-07-29 10:36:18 +00:00
Andrey Zvonov
ac001c0c6f no parallel for kerberized kafka 2024-07-29 08:41:23 +00:00
Vitaly Baranov
56353f7d22 Remove test test_broken_projections_in_backups_1 2024-07-29 05:25:46 +02:00
Alexey Milovidov
da582fd2e9 Merge branch 'fix-kafka' into ast-data-type 2024-07-28 21:17:52 +02:00
Alexey Milovidov
1f784d1862 Tests for Kafka cannot run in parallel 2024-07-28 21:15:23 +02:00
Alexey Milovidov
10b3cb92bc Tests for Kafka cannot run in parallel 2024-07-28 21:14:47 +02:00
Vitaly Baranov
99322feabe Add parameter 'backups.test_randomize_order' to backup configuration
to make reproducing the issue easier.
2024-07-28 03:44:01 +02:00
Alexey Milovidov
3818d701d6 Merge branch 'master' into ast-data-type 2024-07-27 04:19:41 +02:00
Azat Khuzhin
870ec237bb Add ability to load dashboards for system.dashboards from config
One of the obvious reasons is to allow rendering them with readonly
user, which is not possible right now, due to usage of merge() function
there.

Another one, is to add some custom metrics.

Note, that once set, they overrides the default dashboards preset.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-26 21:21:09 +02:00
Sergei Trifonov
8943561372
Merge pull request #67223 from ClickHouse/fix-test-pkill
Fix flaky `test_pkill_query_log` (tsan)
2024-07-26 17:57:11 +00:00
serxa
1e12ac577a Fix flaky test_pkill_query_log (tsan) 2024-07-26 14:26:37 +00:00
Alexey Milovidov
36a875dda4 Merge branch 'fix-idiotic-code' into ast-data-type 2024-07-26 15:32:15 +02:00
Han Fei
a9ceb0c49c
Merge pull request #66915 from zvonand/zvonand-fix-66835
[CI fest] Try to fix `test_broken_projections/test.py::test_broken_ignored_replicated`
2024-07-26 11:31:32 +00:00
Pablo Marcos
3f1dbdfce9 Clarify documentation 2024-07-26 11:01:10 +00:00
Pablo Marcos
98418120cd Add parallel integration test execution to doc 2024-07-26 10:22:57 +00:00
Pablo Marcos
5bf89a4331 Set a different instance dir when using pytest-xdist
This allows executing in integration tests in parallel
without directory clashes.
2024-07-26 08:42:54 +00:00
Alexey Milovidov
d00a29898e Merge branch 'master' into ast-data-type 2024-07-26 04:56:05 +02:00
Igor Nikonov
e32109174e
Merge pull request #66880 from zoomxi/unavaliable_replicas
Fix: throw if can't connect to any participating replicas for parallel replicas query execution
2024-07-25 19:56:06 +00:00