Commit Graph
1555 Commits
Author SHA1 Message Date
Antonio AndelicandGitHub c324e052d2 Merge branch 'master' into implicit-int-conversion 2026-01-15 10:00:07 +01:00
Antonio Andelic 2832928464 Merge branch 'master' into implicit-int-conversion 2026-01-13 13:01:28 +01:00
Josh Carp 229f07a78f Improve posix compatibility for illumos.
- Guard RLIMIT_NPROC usage; not defined on illumos.
- Include sys/filio.h for FIONREAD on illumos (not in sys/ioctl.h).
- Use DNS::hostName() instead of DNS::thisHost() on illumos.
- Fix fpclass() call for long double.

See also:
- https://github.com/oxidecomputer/garbage-compactor/blob/master/clickhouse/patches/0018-Do-not-try-to-increase-the-thread-limit-via-proc.patch

Part of #23777.
2026-01-12 16:38:51 +00:00
Raúl MarínandGitHub aeb743df51 Revert "Improve posix portability for illumos." 2026-01-12 13:17:05 +01:00
Antonio Andelic 36c4767a2a Merge branch 'master' into implicit-int-conversion 2026-01-12 09:31:50 +01:00
Josh Carp b0a6dcb295 Improve posix portability for illumos.
- Guard RLIMIT_NPROC usage; not defined on illumos.
- Include sys/filio.h for FIONREAD on illumos (not in sys/ioctl.h).
- Use posix statvfs in decompressor.
- Use DNS::hostName() instead of DNS::thisHost() on illumos.
- Fix fpclass() call for long double.

See also:
- https://github.com/oxidecomputer/garbage-compactor/blob/master/clickhouse/patches/0017-Use-statvfs-on-illumos.patch
- https://github.com/oxidecomputer/garbage-compactor/blob/master/clickhouse/patches/0018-Do-not-try-to-increase-the-thread-limit-via-proc.patch

Part of #23777.
2026-01-11 05:08:58 +00:00
Raúl MarínandGitHub 12ef4d25d0 Merge pull request #93679 from Algunenano/build_clean
Cleanup some build flags
2026-01-09 15:06:32 +00:00
Raúl Marín 5a5673539d Missing files 2026-01-08 17:14:36 +01:00
Antonio Andelic 8884aa496a Merge branch 'master' into implicit-int-conversion 2026-01-08 13:32:51 +01:00
Eduard KaracharovandAzat Khuzhin dfddf71f25 MemoryWorker: force purging dirty pages on threshold exceeded
Make memory worker to be able to preventilvely purge jemalloc arenas,
if the size of dirty pages exceeds pre-configured threshold ratio
(relatively to `max_server_memory_usage`), even if the process memory
is below memory tracker limit.

Co-authored-by: Azat Khuzhin <[email protected]>
2026-01-08 08:24:09 +02:00
Antonio Andelic 1b27ae2c7b Merge branch 'master' into wide-integer-explicit-cast 2026-01-07 16:32:44 +01:00
Antonio Andelic 340be5a496 Enable implicit-int-conversion check 2026-01-07 16:30:57 +01:00
pufit f534122fb3 Fix build 2025-12-29 22:45:21 -05:00
pufit e8f282d62a Merge branch 'master' into ch-keeper-http-api-v1
# Conflicts:
#	programs/keeper-client/KeeperClient.cpp
#	programs/keeper-client/KeeperClient.h
#	programs/server/Server.cpp
#	src/Server/HTTPRequestHandlerFactoryMain.cpp
2025-12-29 19:46:51 -05:00
Azat KhuzhinandGitHub 56847ffa0a Merge pull request #81302 from zghong/fix-init-dns-resolver-after-clusters
Initialize `DNSResolver` before use to respect custom settings
2025-12-11 12:55:22 +00:00
Zhigao Hong 71571e286f Apply suggestions from code review 2025-12-11 01:31:00 +08:00
Azat KhuzhinandGitHub 45c9aad5c2 Merge pull request #91157 from azat/bg-sched-pool-introspection
Introduce system.background_schedule_pool{,_log} to improve introspection of background jobs
2025-12-01 18:10:13 +00:00
Sema ChecherindaandGitHub 5ed4ef02dd Merge pull request #91016 from ClickHouse/chesema-max-connection
add hard limit for http client connection
2025-11-30 15:50:19 +00:00
Zhigao HongandGitHub cbce4f7efe Merge branch 'ClickHouse:master' into fix-init-dns-resolver-after-clusters 2025-11-30 23:41:50 +08:00
Azat Khuzhin a3a9a15e93 Introduce system.background_schedule_pool{,_log} to improve introspection of background jobs 2025-11-29 16:24:16 +01:00
Sema Checherinda e76fa09133 fix review note 2025-11-27 20:09:04 +01:00
Sema Checherinda 4b543e883b add hard limit for http client connection 2025-11-27 20:05:41 +01:00
Michael Stetsyuk 07042e8aa1 better 2025-11-24 13:06:12 +00:00
Michael Stetsyuk 1710b807f9 move async_metrics_keeper_metrics_only 2025-11-18 12:52:33 +00:00
Michael Stetsyuk 48f9f96df1 check USE_NURAFT 2025-11-18 10:51:43 +00:00
Michael Stetsyuk 782cd6c0a8 keeper metrics only 2025-11-17 21:34:07 +00:00
Antonio AndelicandGitHub 5463c8f001 Merge pull request #89734 from ClickHouse/cache-s3-credentials
Cache S3 credentials
2025-11-17 07:49:48 +00:00
Miсhael StetsyukandGitHub a42ee2d196 Merge branch 'master' into log-internal-queries 2025-11-14 11:11:25 +00:00
Nikita Mikhaylov d2079f2748 Merge branch 'master' of github.com:ClickHouse/ClickHouse into no-mlock-low-mem 2025-11-13 23:03:16 +01:00
Konstantin Bogdanov 7bc0ea4902 Allow usage with embedded Keeper 2025-11-12 16:42:26 +01:00
Konstantin Bogdanov 6cdddafcf7 Remove redundant includes 2025-11-12 16:42:25 +01:00
Konstantin Bogdanov 909b3e5678 Lint 2025-11-12 16:42:19 +01:00
Konstantin Bogdanov 934dbf849d Missing directive 2025-11-12 16:42:18 +01:00
Konstantin Bogdanov ac411c4700 Add shutdown 2025-11-12 16:42:15 +01:00
Konstantin Bogdanov 368406d52b Huge refactoring 2025-11-12 16:42:12 +01:00
Konstantin Bogdanov d2e70e032c Cleanup 2025-11-12 16:42:05 +01:00
Konstantin Bogdanov e05982e0d4 temp-commit 2025-11-12 16:42:01 +01:00
Konstantin Bogdanov 17704ecc10 Cleanup 2025-11-12 16:42:00 +01:00
Konstantin Bogdanov 408e45c9eb Cleanup 2025-11-12 16:41:59 +01:00
Sergey LokhmatikovandKonstantin Bogdanov 1bfa1a938c Added handler 2025-11-12 16:41:46 +01:00
Antonio Andelic 5cc87a37b3 Add tests and metrics 2025-11-10 13:41:09 +01:00
Miсhael StetsyukandGitHub fce21d0f9d Merge branch 'master' into log-internal-queries 2025-11-10 10:03:21 +00:00
Alexey Milovidov 9becf4477c Do not do mlock if the memory is low 2025-11-08 00:50:53 +01:00
Alexey Milovidov bc2cf62881 Do not do mlock if the memory is low 2025-11-08 00:48:26 +01:00
Michael Stetsyuk 6ffd11b4da fxs 2025-11-07 18:21:30 +00:00
Michael Stetsyuk 4e5eb26ae6 make extra scope 2025-11-07 15:15:47 +00:00
Miсhael StetsyukandGitHub 799533a24c Merge branch 'master' into log-internal-queries 2025-11-07 11:05:28 +00:00
Elmi Ahmadov d32724e76b Merge remote-tracking branch 'origin/master' into ahmadov/text-index-posting-list-cache 2025-11-06 12:39:36 +01:00
Elmi AhmadovandGitHub bcacae904b Merge pull request #89513 from ClickHouse/ahmadov/text-index-header-cache
Text index: introduce cache for the deserialized header
2025-11-06 10:05:14 +00:00
Elmi Ahmadov b37cd0b167 Text index: introduce cache for deserialized posting lists
Since posting lists are the largest by the data size, caching them would
reduce I/O and improve the quer performance in consecutive runs.

The cache can be configured via new server settings:
- `text_index_postings_cache_policy`
- `text_index_postings_cache_size`
- `text_index_postings_cache_max_entries`
- `text_index_postings_cache_size_ratio`

and enabled using `use_text_index_postings_cache` setting (disabled by
default).
2025-11-06 02:03:18 +01:00