Commit Graph

134394 Commits

Author SHA1 Message Date
Azat Khuzhin
67b73c3e49 Fix long shutdown of FileLog storage
Previously it was possible to wait up to
poll_directory_watch_events_backoff_max (default is 32000) on shutdown,
because it was not possible to stop poll of inotify.

Before (takes 3 seconds):

    2024.02.12 11:27:55.058192 [ 10134 ] {} <Trace> StorageFileLog (file_log): Waiting for cleanup
    2024.02.12 11:27:58.178021 [ 10271 ] {} <Trace> directory_watch: Execution took 7519 ms.

After:

    2024.02.12 11:33:29.722403 [ 15866 ] {} <Trace> StorageFileLog (file_log): Waiting for cleanup
    2024.02.12 11:33:29.722473 [ 15956 ] {} <Trace> directory_watch: Execution took 6399 ms.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-12 11:52:09 +01:00
Alexander Gololobov
67bb3994ce
Merge pull request #59854 from ClickHouse/system_zk_init
Do not reinitialize ZooKeeperWithFaultInjection on each chunk
2024-02-12 10:14:54 +01:00
Alexey Milovidov
61a5696ce9
Merge pull request #59735 from ClickHouse/tavplubix-patch-13
Make ZooKeeper actually sequentialy consistent
2024-02-12 04:41:35 +01:00
Alexey Milovidov
5dbcff8048
Merge pull request #58609 from azat/binary-aliases-cmake
Create ch/chc/chl symlinks by cmake as well (for develop mode)
2024-02-11 23:45:58 +01:00
Alexey Milovidov
da452c7947
Merge pull request #59799 from ClickHouse/auto/v24.1.3.31-stable
Update version_date.tsv and changelogs after v24.1.3.31-stable
2024-02-11 23:41:17 +01:00
Alexey Milovidov
a65b9cc1f8
Merge pull request #59800 from ClickHouse/auto/v23.12.4.15-stable
Update version_date.tsv and changelogs after v23.12.4.15-stable
2024-02-11 23:41:09 +01:00
Nikolay Degterinsky
920a87bc62
Merge pull request #59852 from azat/build/rust-osx-versioning
Respect CMAKE_OSX_DEPLOYMENT_TARGET for Rust targets
2024-02-11 19:37:27 +01:00
Alexander Gololobov
309db427e7 Do not reinitialize ZooKeeperWithFaultInjection on each chunk 2024-02-11 13:13:49 +01:00
Azat Khuzhin
a3938e7df0 Respect CMAKE_OSX_DEPLOYMENT_TARGET for Rust targets
This should fix the following warnings:

    ld: warning: object file (rust/prql/Debug/lib_ch_rust_prql.a[74](aarch_aapcs64.o)) was built for newer 'macOS' version (14.0) than being linked (11.0)
    ld: warning: object file (rust/skim/Debug/lib_ch_rust_skim_rust.a[40](c0e230e4543ad627-lib.rs.o)) was built for newer 'macOS' version (14.0) than being linked (11.0)
    ld: warning: object file (rust/skim/Debug/lib_ch_rust_skim_rust.a[46](6c3a6ae2099d4914-cxx.o)) was built for newer 'macOS' version (14.0) than being linked (11.0)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-11 10:55:14 +01:00
Alexey Milovidov
c18f713482
Merge pull request #59833 from ClickHouse/ns
Fix StorageURL doing some of the query execution in single thread
2024-02-11 07:59:52 +01:00
Michael Kolupaev
b5fd68a2b6 no-fasttest 2024-02-11 02:44:18 +00:00
Michael Kolupaev
5424f235a9 Fix StorageURL doing some of the query execution in one thread instead of max_threads 2024-02-11 02:44:18 +00:00
Alexey Milovidov
789bca11e1
Merge pull request #58792 from ClickHouse/enable-coverage-for-debug-build
Add builds and tests with coverage
2024-02-10 23:52:22 +01:00
Alexey Milovidov
ccc9637dda
Merge pull request #59814 from ClickHouse/enforce-analyzer-tests
Enforce tests with enabled analyzer in CI
2024-02-10 21:39:54 +01:00
Alexey Milovidov
61227acdc4 Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-02-10 19:30:22 +01:00
Alexey Milovidov
9f8f8f64c1
Merge pull request #59846 from azat/better-task_delayacct-warning
Better warning for disabled kernel.task_delayacct
2024-02-10 19:26:39 +01:00
Robert Schulze
ef1de99789
Merge pull request #58024 from ClickHouse/docs-editing-query-cache-settings
[Docs] Clarify to use query level settings in ClickHouse Cloud
2024-02-10 16:15:54 +01:00
Azat Khuzhin
e6d96e4325 Better warning for disabled kernel.task_delayacct
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-10 14:49:43 +01:00
Robert Schulze
a3487c9c47
Merge remote-tracking branch 'ClickHouse/master' into docs-editing-query-cache-settings 2024-02-10 13:34:43 +00:00
Nikolai Kochetov
b22118a2dd
Merge pull request #59844 from kitaisreal/update-trusted-contributors
Updated a list of trusted contributors
2024-02-10 13:24:49 +01:00
Nikolai Kochetov
fb8723a15c
Update pr.py 2024-02-10 13:13:26 +01:00
Maksim Kita
8b3c27d45b Updated a list of trusted contributors 2024-02-10 15:00:31 +03:00
Nikolai Kochetov
cd4e304db0
Merge pull request #59564 from kitaisreal/revert-59509-revert-59375-poco-logger-small-refactoring
Revert "Revert "Poco Logger small refactoring""
2024-02-10 12:53:29 +01:00
SmitaRKulkarni
f2f4422783
Merge pull request #59819 from ClickHouse/Fix_settings_azure
Fix settings history azure_max_single_part_copy_size
2024-02-10 07:58:26 +01:00
Alexey Milovidov
ed02154a4a Fix "Too many parts" 2024-02-10 07:31:54 +01:00
Alexey Milovidov
c36397100b
Merge pull request #59662 from Algunenano/shard_query_start_time
Fix query start time on non initial queries
2024-02-10 03:09:06 +01:00
Alexey Milovidov
99b66f75bd Sequential run 2024-02-10 02:27:55 +01:00
Alexey Milovidov
e99c359fba
Merge pull request #59782 from Blargian/broken_link_in_documentation
Fix broken youtube embedding in ne-tormozit.md
2024-02-09 23:29:44 +01:00
robot-clickhouse
e86f1f45d7
Merge pull request #59787 from ClickHouse/hide
Hide URL/S3 'headers' argument in SHOW CREATE
2024-02-09 23:03:00 +01:00
Alexey Milovidov
a7c30098b6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-02-09 22:52:49 +01:00
Anton Popov
b4449535c2
Merge pull request #59733 from CurtizJ/check-minmax-index-types
Validate types of arguments for `minmax` skipping index
2024-02-09 19:39:59 +01:00
Maksim Kita
9c3b363c81 Fixed tests 2024-02-09 21:39:36 +03:00
Maksim Kita
2fc8895ae8 Fixed tests 2024-02-09 21:39:36 +03:00
Maksim Kita
cb702f72ef Updated implementation 2024-02-09 21:39:35 +03:00
Maksim Kita
dc52def9eb Revert "Revert "Poco Logger small refactoring"" 2024-02-09 21:39:35 +03:00
Nikita Mikhaylov
69e118e587
Fix potential endless loop during merge (#59812) 2024-02-09 19:34:21 +01:00
Smita Kulkarni
a76e07207a Add new setting azure_max_single_part_copy_size to SettingsChangesHistory.h 2024-02-09 18:58:15 +01:00
Alexey Milovidov
e54fbd3367
Update tests/ci/ci_config.py
Co-authored-by: Mikhail f. Shiryaev <felixoid@clickhouse.com>
2024-02-09 18:32:54 +01:00
Alexey Milovidov
67d5e5885e
Update tests/queries/0_stateless/02982_comments_in_system_tables.sh
Co-authored-by: Mikhail f. Shiryaev <felixoid@clickhouse.com>
2024-02-09 18:32:42 +01:00
robot-ch-test-poll
5075f52818
Merge pull request #59815 from ClickHouse/idempotent-lambda
Handle different timestamp related aspects of zip-files
2024-02-09 18:10:43 +01:00
Alexey Milovidov
93680caee4
Merge pull request #59784 from ClickHouse/docs-cloud-values-query-complexity
[Docs] Add cloud default values for query complexity
2024-02-09 18:06:39 +01:00
Alexey Milovidov
f3b2f27d95
Merge pull request #59783 from ClickHouse/docs-edit-default-cloud-core-settings
[Docs] Add default cloud core settings
2024-02-09 18:06:23 +01:00
Mikhail f. Shiryaev
f056e8b2c4
Handle different timestamp related aspects of zip-files 2024-02-09 16:54:00 +01:00
Dmitry Novik
b23ba02d4c
Enforce tests with enabled analyzer in CI 2024-02-09 16:50:37 +01:00
Nikolai Kochetov
862c6cd79c
Merge pull request #57430 from ClickHouse/non-ready-set-ttl
Non ready set in TTL WHERE.
2024-02-09 16:31:26 +01:00
Igor Nikonov
effaaceb26
Merge pull request #59501 from ClickHouse/pr-better-replicas-failover-2
Parallel replicas: better initial replicas failover (2)
2024-02-09 15:50:56 +01:00
Dmitry Novik
2e6ca6200e
Merge pull request #59774 from ClickHouse/analyzer-merge-follow-up
Followup #50894
2024-02-09 15:05:19 +01:00
Nikita Mikhaylov
50828dade2
Fix stacktraces on MacOS (#59690) 2024-02-09 14:53:03 +01:00
Max K
b06e13fc57
Merge pull request #59807 from ClickHouse/ci_await_tune_ups
CI: await tune ups
2024-02-09 14:50:14 +01:00
Vitaly Baranov
09e727d48b
Merge pull request #56988 from ClickHouse/Azure_backup
Backup & Restore support for AzureBlobStorage
2024-02-09 14:45:35 +01:00