Commit Graph

149593 Commits

Author SHA1 Message Date
Alexey Milovidov
185b6a54da Merge with master 2024-08-04 00:34:58 +02:00
Alexey Milovidov
d37a4567f6 Merge branch 'master' into fix-json-recursion 2024-08-04 00:30:29 +02:00
Alexey Milovidov
3bea8b4e25 Merge branch 'master' into add-assert-into-timer-descriptor 2024-08-04 00:29:22 +02:00
Alexey Milovidov
b8050cc471
Merge pull request #67702 from ClickHouse/fix-timer-descriptor-locks
Fix locking inside TimerDescriptor
2024-08-04 00:28:23 +02:00
Alexey Milovidov
a051eb2a5d Fix tests 2024-08-04 00:24:17 +02:00
Alexey Milovidov
6b300ab44f Merge branch 'master' into fix-log-and-exception-messages-formatting 2024-08-04 00:23:18 +02:00
Alexey Milovidov
4e3202d906
Merge pull request #67645 from ClickHouse/fix-race-condition-in-settings-processlist
Fix race condition between ProcessList and Settings
2024-08-03 22:21:49 +00:00
Alexey Milovidov
aa3b4595fa
Merge pull request #67701 from ClickHouse/improve-dashboard
Improve the dashboard
2024-08-03 22:16:07 +00:00
Azat Khuzhin
2f00c96271 Support true UUID type for MongoDB engine
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 23:51:41 +02:00
Azat Khuzhin
6013e4b81d poco/MongoDB: Support broader UUID types (generated by python uuid.UUID)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 23:51:41 +02:00
Alexey Milovidov
7a066a6505 Add a test 2024-08-03 23:48:51 +02:00
Alexey Milovidov
8562a6106c Better safety thresholds in arrayWithConstant 2024-08-03 23:45:18 +02:00
Azat Khuzhin
9d0e066cda Bump NuRaft (to properly catch thread exceptions)
Refs: https://github.com/ClickHouse/NuRaft/pull/75
Refs: https://github.com/eBay/NuRaft/pull/525
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 23:41:50 +02:00
Azat Khuzhin
f06ae2f551 Fill only selected columns from system.clusters
Some of them pretty heavy, i.e. is_active for ReplicatedDatabase

This should fix 02903_rmt_retriable_merge_exception flakiness [1].

 [1]: https://s3.amazonaws.com/clickhouse-test-reports/67687/89c47df559ba23d988f8af3c342e0c8d5531f4b8/fast_test.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 23:37:26 +02:00
Azat Khuzhin
a197502341 Fix test retries
Should fix issues like:
- 02494_zero_copy_projection_cancel_fetch - https://s3.amazonaws.com/clickhouse-test-reports/67719/40cd5467c18d65a6624d273ac1a8fd9cc9257d8c/stateless_tests__tsan__s3_storage__[4_4].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 23:11:20 +02:00
Alexey Milovidov
d9d30d1004
Merge pull request #67295 from canhld94/fix_empty_tuple_in_lhs_in
Fix hung query when using empty tuple as lhs of function IN
2024-08-03 20:57:59 +00:00
Max K
3dedd8d76b CI: Minor refactoring in ci_utils 2024-08-03 21:19:51 +02:00
Alexey Milovidov
02b8d563e3
Merge pull request #67720 from vitlibar/fix-completing-restore-on-cluster
Fix completion of RESTORE ON CLUSTER
2024-08-03 18:58:32 +00:00
Alexey Milovidov
c91504ffb4
Merge pull request #67719 from azat/tests/01042_system_reload_dictionary_reloads_completely
Fix 01042_system_reload_dictionary_reloads_completely flakiness
2024-08-03 18:49:21 +00:00
Alexey Milovidov
54fa1f14bb Merge branch 'master' into improve-dashboard 2024-08-03 20:37:41 +02:00
Alexey Milovidov
2305cae149
Merge pull request #67564 from ClickHouse/miscellaneous-2
Miscellaneous
2024-08-03 18:16:35 +00:00
Alexey Milovidov
5e0d13e38b Merge branch 'master' into fix-log-and-exception-messages-formatting 2024-08-03 19:25:33 +02:00
Alexey Milovidov
c07089f054 Merge branch 'master' into fix-json-recursion 2024-08-03 19:06:25 +02:00
Alexey Milovidov
b1e6c9b543 Merge branch 'master' into fix-race-condition-in-settings-processlist 2024-08-03 19:03:54 +02:00
Alexey Milovidov
9eb8f4a976 Merge branch 'master' into fix-timer-descriptor-locks 2024-08-03 18:58:30 +02:00
Alexey Milovidov
3905dde3d9
Merge pull request #67731 from ClickHouse/revert-66703-add-replication-lag-and-recovery-time-metrics
Revert "Add replication lag and recovery time metrics"
2024-08-03 18:41:53 +02:00
Alexey Milovidov
60648e5240
Revert "Add replication lag and recovery time metrics" 2024-08-03 18:41:17 +02:00
Alexey Milovidov
65bba77771 Fix typo 2024-08-03 18:30:33 +02:00
Alexey Milovidov
fc651cc0c6 Fix strange code in HostResolvePool 2024-08-03 17:57:48 +02:00
Alexey Milovidov
abb747498d Fix test 02789_reading_from_s3_with_connection_pool 2024-08-03 16:54:44 +02:00
taiyang-li
1103a2d669 Merge branch 'ch_support_printf' of https://github.com/bigo-sg/ClickHouse into ch_support_printf 2024-08-03 22:43:29 +08:00
taiyang-li
a749223251 change as request 2024-08-03 22:43:12 +08:00
divanik
fb2f15c3b5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_retry_integration_tests_decorator 2024-08-03 13:59:48 +00:00
李扬
667727192f
Merge branch 'ClickHouse:master' into fix_map_from_arrays 2024-08-03 21:28:20 +08:00
Alexey Milovidov
1723c087fb Merge branch 'master' into improve-dashboard 2024-08-03 15:12:30 +02:00
Alexey Milovidov
d3dcd21dc9 Merge branch 'master' into fix-timer-descriptor-locks 2024-08-03 15:12:05 +02:00
Alexey Milovidov
73080d25a9 Fix test 00002_log_and_exception_messages_formatting 2024-08-03 15:10:05 +02:00
Alexey Milovidov
b97e5b54ca
Merge pull request #67357 from Avogar/remove-duplicated-tests
Remove duplicated tests
2024-08-03 12:58:35 +00:00
Alexey Milovidov
00ea60d72c
Merge pull request #67690 from ClickHouse/fix-bad-log-message-sort-description
Fix bad log message in sort description
2024-08-03 12:57:20 +00:00
Alexey Milovidov
4a10d26eb1
Merge pull request #67696 from ClickHouse/fix-test-reports
Fix check names in test reports and the CI Logs database
2024-08-03 14:55:03 +02:00
Alexey Milovidov
ddeb4e7b55
Merge pull request #67683 from ClickHouse/fix-docs-build
Fix docs build
2024-08-03 12:53:48 +00:00
Miсhael Stetsyuk
14fce8b8da
Merge pull request #66704 from ClickHouse/add-S3DiskNoKeyErrors-metric
Add S3DiskNoKeyErrors metric
2024-08-03 12:44:33 +00:00
Vitaly Baranov
6ce6af0647 Fix completion RESTORE ON CLUSTER. 2024-08-03 14:40:25 +02:00
Daniil Ivanik
472e7c8033
Merge pull request #67535 from ClickHouse/divanik/fix_s3_settings_for_queries_and_merges
[Green CI] test 03164_s3_settings_for_queries_and_merges is flaky
2024-08-03 11:55:01 +00:00
Azat Khuzhin
40cd5467c1 tests: fix 01042_system_reload_dictionary_reloads_completely flakiness (increase lag)
The test fails in case of INSERT takes > 1 sec:

    2024.08.02 13:06:07.746869 [ 45445 ] {c9b55378-6bc5-46d5-80c1-5385a880f88b} <Debug> executeQuery: (from [::1]:37208) (comment: 01042_system_reload_dictionary_reloads_completely.sh) CREATE DICTIONARY test_m4lx2bit.dict ( x Int64 DEFAULT -1, y Int64 DEFAULT -1, insert_time DateTime ) PRIMARY KEY x SOURCE(CLICKHOUSE(HOST 'localhost' PORT tcpPort() USER 'default' TABLE 'table' DB 'test_m4lx2bit' UPDATE_FIELD 'insert_time')) LAYOUT(FLAT()) LIFETIME(1); (stage: Complete)
    ...
    2024.08.02 13:06:08.263832 [ 59987 ] {744da223-67b9-4e32-b12a-eb2550a92fdb} <Trace> DictionaryFactory: Created dictionary source 'ClickHouse: test_m4lx2bit.table' for dictionary '5b2b98a9-9372-47c9-bda3-830794cb96e7'
    2024.08.02 13:06:08.268118 [ 59987 ] {744da223-67b9-4e32-b12a-eb2550a92fdb} <Debug> executeQuery: (internal) SELECT `x`, `y`, `insert_time` FROM `test_m4lx2bit`.`table`; (stage: Complete)
    ...
    2024.08.02 13:06:09.193190 [ 45445 ] {b6033498-4666-452f-bcf9-02ecf257ba7f} <Debug> executeQuery: (from [::1]:37262) (comment: 01042_system_reload_dictionary_reloads_completely.sh) INSERT INTO test_m4lx2bit.table VALUES  (stage: Complete)
    ...
    2024.08.02 13:06:11.342119 [ 50962 ] {} <Debug> executeQuery: (internal) SELECT `x`, `y`, `insert_time` FROM `test_m4lx2bit`.`table` WHERE insert_time >= '2024-08-02 13:06:07'; (stage: Complete)
    ...
    2024.08.02 13:06:11.832158 [ 45445 ] {b6033498-4666-452f-bcf9-02ecf257ba7f} <Debug> TCPHandler: Processed in 2.642106236 sec.
    ...
    2024.08.02 13:06:16.357448 [ 41632 ] {} <Debug> executeQuery: (internal) SELECT `x`, `y`, `insert_time` FROM `test_m4lx2bit`.`table` WHERE insert_time >= '2024-08-02 13:06:10'; (stage: Complete)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 13:30:58 +02:00
Azat Khuzhin
f97abf6994 tests: avoid endless wait in 01042_system_reload_dictionary_reloads_completely
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 13:30:55 +02:00
Sergei Trifonov
3a7842ce05
Merge pull request #67553 from ClickHouse/fix-async-loader-destruction
Fix AsyncLoader destruction race
2024-08-03 09:27:48 +00:00
Sergei Trifonov
d8cb1613fa
Merge pull request #65654 from ClickHouse/scheduler-queue-throughput-introspection
Scheduler queue throughput introspection, Fix CPU indication in client
2024-08-03 09:24:28 +00:00
Antonio Andelic
c96e1f86da
Merge pull request #67433 from ClickHouse/fix-archive-file-parsing
Fix file/URI parsing with archive syntax
2024-08-03 08:05:20 +00:00
Antonio Andelic
1b20d47202
Merge pull request #67665 from ClickHouse/fix-udf-reload
Fix reloading SQL UDFs with UNION
2024-08-03 08:05:12 +00:00