Commit Graph

149609 Commits

Author SHA1 Message Date
Nikolay Degterinsky
5d0c179ad1 Merge remote-tracking branch 'upstream/master' into fix-timeout-stateless-tests 2024-08-05 19:38:09 +00:00
Michael Kolupaev
9137551ddc
Merge pull request #67641 from ClickHouse/typechange
Fix crash in KeyCondition::cloneASTWithInversionPushDown() caused by type change
2024-08-05 19:12:53 +00:00
Max K
529f21c6b8 CI: CheckReadyForMerge fixes 2024-08-05 20:41:16 +02:00
Azat Khuzhin
618789d196 Do not pass logs for keeper explicitly in the image to allow overriding
Right now, if you will start keeper like this:

    $ cat /tmp/local.yaml
    ---
    logger:
        log:
            "@remove": remove
        errorlog:
            "@remove": remove
        console: 1
    $ docker run --name keeper -v /tmp/local.yaml:/etc/clickhouse-keeper/conf.d/local.yaml --rm -it clickhouse/clickhouse-keeper

This will still not work, because the --log-file/--errorlog-file passed
explicitly.

So this patch removes this in case config is valid, but, if keeper is
launched with embedded config, this had been left as-is, to keep
previous behavior.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:28:13 +02:00
Azat Khuzhin
0310f52d3a Fix 01811_storage_buffer_flush_parameters flakiness
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:27:01 +02:00
Azat Khuzhin
50aebcfc28 Rewrite 03002_part_log_rmt_fetch_*_error tests from sql to sh with retries
Except for this patch should fix the flakiness of this test it also
reduces the execution time from 15.4s to 3.3s (5x!)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:25:59 +02:00
Azat Khuzhin
3593f740a8 Revert "Remove bad tests @azat" (reverts #66823)
This reverts commit 0c2c027af6.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:25:59 +02:00
Azat Khuzhin
0dccc34a20 Fix cluster() for inter-server secret (preserve initial user as before)
The behaviour of cluster() with inter-server secret had been changed in #63013,
after it started to use "default" user, and this introduces a
regression.

The intention of that patch was to adjust only remote(), since it only
it accept custom user, which should be ignored.

Fixes: https://github.com/ClickHouse/ClickHouse/issues/66287
Fixes: https://github.com/ClickHouse/ClickHouse/issues/66352
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:24:24 +02:00
Azat Khuzhin
9d7710684b tests/test_distributed_inter_server_secret: get_query_user_info return list
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:24:24 +02:00
Azat Khuzhin
457686c379 Simplify StorageDistributed ctors
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:24:24 +02:00
Alexey Milovidov
c64f060496
Merge pull request #67687 from Avogar/fix-variant-as-common-type
Fix variant as common type in if function with Tuples, Maps and incompatible integers
2024-08-05 17:48:36 +00:00
Alexey Milovidov
5137a074b9
Merge pull request #67795 from azat/tests/fix-perf
Fix possible CANNOT_READ_ALL_DATA during server startup in performance tests
2024-08-05 17:47:14 +00:00
Alex Katsman
c8805fbced Misc fixes 2024-08-05 17:41:47 +00:00
Alexey Milovidov
f5367e1dad
Merge pull request #67600 from ClickHouse/vdimir/fix_02434_cancel_insert_when_client_dies
Fix 02434_cancel_insert_when_client_dies
2024-08-05 17:02:25 +00:00
Alexey Milovidov
809d73d739
Merge pull request #67774 from azat/fix-replace-modifier-format
Fix REPLACE modifier formatting (forbid omitting brackets)
2024-08-05 17:02:00 +00:00
Alexey Milovidov
df0bc58b82
Merge pull request #67797 from Avogar/reduce-dynamic-merges-test
Reduce table size in 03037_dynamic_merges_2* tests
2024-08-05 17:01:45 +00:00
Robert Schulze
05395ac7bd
Un-flake 02524_fuzz_and_fuss_2 (hopefully)
https://s3.amazonaws.com/clickhouse-test-reports/0/3221b651da16cd868350a1aff022ba71a1a15f3c/stateless_tests__tsan__s3_storage__[2_5].html

https://s3.amazonaws.com/clickhouse-test-reports/0/1fde5b7bfa1b1a6a0d67258be5e7ef855b730559/stateless_tests__tsan__s3_storage__[2_4].html
2024-08-05 17:01:15 +00:00
Alexey Milovidov
6951816006
Merge pull request #67798 from Avogar/disable-nested-dynamic-merges-tests-sanitiziers
Disable 03038_nested_dynamic_merges* under sanitizers because it's too slow
2024-08-05 17:01:15 +00:00
Max K.
f5e7f7a3e3
Merge pull request #67863 from ClickHouse/auto/v24.5.5.78-stable
Update version_date.tsv and changelogs after v24.5.5.78-stable
2024-08-05 16:58:57 +00:00
vdimir
4e8d11c48e
Add fuzzers to 03208_buffer_over_distributed_type_mismatch 2024-08-05 16:46:42 +00:00
robot-clickhouse
e4c71aec4d Update version_date.tsv and changelogs after v24.5.5.78-stable 2024-08-05 16:12:25 +00:00
Kseniia Sumarokova
bebc5c2e7e
Merge pull request #67801 from ClickHouse/kssenii-patch-12
Update comment
2024-08-05 15:57:50 +00:00
Nikita Mikhaylov
f5173a13a3
Merge pull request #67393 from jrdi/total_parts_marks
Add total marks and parts to ProfileEvents
2024-08-05 15:41:21 +00:00
Nikita Mikhaylov
2c78122717
Merge pull request #67667 from zvonand/fix-ldap-entrypoint-2
Even better healthcheck for ldap
2024-08-05 15:31:59 +00:00
Nikita Mikhaylov
011910a594 Fixed the integration test 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
d998bf55f1 Fix build 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
a9204c5da3 Delete changes 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
a202022475 Fixed performance tests 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
330aae9517 Even better test 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
0301af99e5 Fixed a bunch of tests 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
ef811fd25c Fix test 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
64c0903f54 Validate also alias 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
abf543cb2e Add to settings changes 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
7c729d3974 Remove all changes 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
735f154757 Build 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
194e7824de Minor 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
ddcad048de Fix build 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
a8ca5ad50b Fixed build and made setting an alias 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
41bfdbe64e Fix tests 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
ee2589df59 Add a settings to the history changelog 2024-08-05 15:29:14 +00:00
Alexey Milovidov
aa66203f17 Update architecture.md 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
62d5e83f25 Double space... 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
cc5dd9830e Modify the docs 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
4e9c3baa25 Move analyzer to Beta stage 2024-08-05 15:29:14 +00:00
Anton Popov
5448bf7b86 fix memory leak during index calculation 2024-08-05 15:07:55 +00:00
Anton Popov
59bffda932
Revert "Revert "Slightly better calculation of primary index"" 2024-08-05 17:06:28 +02:00
Nikolai Kochetov
b531f6b78c Fixing tests. 2024-08-05 15:00:38 +00:00
Raúl Marín
8af682f748
Merge pull request #67673 from Algunenano/no-parallel-2
Remove some `no-parallel` tags from tests (Part 2)
2024-08-05 14:51:27 +00:00
Alexey Milovidov
a416d2bc4a
Merge pull request #67791 from azat/ci/stateless-v2
ci/stateless: fix artifacts post-processing and detect if something failed there
2024-08-05 14:46:58 +00:00
Yarik Briukhovetskyi
69658881d5
Merge pull request #67391 from sakulali/autodetect-config-format
Autodetect configuration file format if is not .xml, .yml or .yaml
2024-08-05 14:45:46 +00:00