Commit Graph

149571 Commits

Author SHA1 Message Date
Azat Khuzhin
27569815d5 Fix query cache randomization in stress tests
Right now it fails with [1]:

    2024.08.05 12:53:53.659422 [ 3559 ] {123237a2-5f08-47e4-996e-21e20bc4a51a} <Error> executeQuery: Code: 704. DB::Exception: The query result was not cached because the query contains a non-deterministic function. Use setting `query_cache_nondeterministic_function_handling = 'save'` or `= 'ignore'` to cache the query result regardless or to omit caching. (QUERY_CACHE_USED_WITH_NONDETERMINISTIC_FUNCTIONS) (version 24.8.1.1356) (from [::1]:42534) (in query: SELECT version(), arrayStringConcat(groupArray(value), ' ') FROM system.build_options WHERE name IN ('GIT_HASH', 'GIT_BRANCH') ), Stack trace (when copying this message, always include the lines below):

    Uexpected exception, will not retry:  HTTPError :  Code: 500. Code: 704. DB::Exception: The query result was not cached because the query contains a non-deterministic function. Use setting `query_cache_nondeterministic_function_handling = 'save'` or `= 'ignore'` to cache the query result regardless or to omit caching. (QUERY_CACHE_USED_WITH_NONDETERMINISTIC_FUNCTIONS) (version 24.8.1.1356)

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/67737/e68c9c8d16f37f6c25739076c9b071ed97952269/stress_test__asan_/stress_test_run_10.txt

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-06 11:38:55 +02:00
Robert Schulze
4d44682017
Merge pull request #66479 from rschu1ze/bump-rocksdb2
Bump RocksDB from v7.10.2 to v8.9.1
2024-08-06 09:31:20 +00:00
Robert Schulze
f9320b82d9
Merge pull request #67867 from rschu1ze/fuzz-and-fuss
Un-flake 02524_fuzz_and_fuss_2
2024-08-06 09:08:32 +00:00
Nikolai Kochetov
614b78495a
Merge pull request #67395 from ClickHouse/anoter-case-of-non-deterministic-func-in-group-by-key
Fix another one case of non-deterministic PK
2024-08-06 08:56:54 +00:00
Nikita Mikhaylov
22ac7ce11d Merge branch 'master' of github.com:ClickHouse/ClickHouse into pr-all-connection-failed 2024-08-06 10:31:12 +02:00
Michael Kolupaev
dc776af565
Merge pull request #67484 from ClickHouse/nojs
Revert #61750 "Improve JSONEachRow reading by ignoring the keys case"
2024-08-06 08:27:02 +00:00
Michael Kolupaev
f344d833fd
Merge pull request #65253 from ClickHouse/reg
attach_gdb.lib: print more information before all stacks
2024-08-06 08:18:46 +00:00
Michael Kolupaev
9e3bc9bc53
Merge pull request #66018 from ClickHouse/readyornot
Fix 'Not-ready Set is passed' in system tables
2024-08-06 08:13:03 +00:00
János Benjamin Antal
45c4a71ccb
Merge pull request #67800 from ClickHouse/revert-66510
Revert "Merge pull request #66510 from canhld94/fix_trivial_count_non_deterministic_func"
2024-08-06 06:30:35 +00:00
Michael Kolupaev
bb71c1eea8
Merge pull request #67874 from ClickHouse/omnomsan
no-msan 00314_sample_factor_virtual_column
2024-08-06 05:02:29 +00:00
Alexey Katsman
913bc8ab3a
Merge pull request #67869 from alexkats/misc-fixes
Misc fixes
2024-08-06 04:10:41 +00:00
Michael Kolupaev
b1b5dd6fc5
Merge pull request #67418 from ClickHouse/curange
Make Dwarf::findAddress() fallback slow path less slow
2024-08-06 03:24:08 +00:00
Alexey Milovidov
15a4d13cda
Update 02968_full_sorting_join_fuzz.sql 2024-08-06 04:33:02 +02:00
Alexey Milovidov
c052c92ea9
Merge pull request #67829 from ClickHouse/update-tags-for-tests
Update tags for a few tests
2024-08-06 01:25:14 +00:00
Alexey Milovidov
087d014f2a
Revert "Revert "Add a test for #47892"" 2024-08-06 03:17:17 +02:00
Alexey Milovidov
3419b916a9
Merge pull request #66457 from AVMusorin/add-play-now-param
Allow run query instantly in play
2024-08-06 00:50:51 +00:00
Michael Kolupaev
8703941a0f Apply https://github.com/ClickHouse/zlib-ng/pull/18 2024-08-05 22:36:30 +00:00
Michael Kolupaev
93afcd16b0 Merge remote-tracking branch 'origin/master' into reg 2024-08-05 22:10:56 +00:00
Michael Kolupaev
4e8bd0654c Remove from history 2024-08-05 22:06:36 +00:00
Michael Kolupaev
a05ead3f77 Conflict 2024-08-05 22:04:53 +00:00
Michael Kolupaev
cfcd9fe096 Conflicts 2024-08-05 21:57:23 +00:00
Alexey Milovidov
61aff5efae Update 00002_log_and_exception_messages_formatting.sql 2024-08-05 23:39:43 +02:00
Alexey Milovidov
29f06e8037 Update 00002_log_and_exception_messages_formatting.sql 2024-08-05 23:39:42 +02:00
robot-clickhouse
5cdf12a927 Automatic style fix 2024-08-05 23:39:34 +02:00
Alexey Milovidov
8e19f46829
Merge pull request #67706 from ClickHouse/ci_minot_utils_refactoring
CI: Minor refactoring in ci_utils
2024-08-05 21:34:43 +00:00
Nikita Mikhaylov
4829ba31d3 Actually fix a test 2024-08-05 21:18:53 +00:00
Michael Kolupaev
3841179a24 Merge remote-tracking branch 'origin/master' into readyornot 2024-08-05 19:58:21 +00:00
Michael Kolupaev
ba47f63fae Merge remote-tracking branch 'origin/master' into bff 2024-08-05 19:56:05 +00:00
Michael Kolupaev
5b91865f58 Merge remote-tracking branch 'origin/master' into nojs 2024-08-05 19:53:53 +00:00
Michael Kolupaev
4d22cdf31f Merge remote-tracking branch 'origin/master' into curange 2024-08-05 19:52:10 +00:00
Michael Kolupaev
bf2e679a51 no-msan 00314_sample_factor_virtual_column 2024-08-05 19:40:57 +00:00
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
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
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