Commit Graph

1629 Commits

Author SHA1 Message Date
Nikita Taranov
3c5d588302
Merge pull request #62003 from nickitat/cpu_cgroup_aware
Fix cpu metric collection in cgroups
2024-08-14 11:08:01 +00:00
Nikita Taranov
b5134fd490 fix build 2024-08-13 23:31:03 +01:00
Nikita Taranov
dd3fa7c3b6
Merge pull request #61793 from nickitat/keep_alive_max_reqs
Implement `max_keep_alive_requests` setting for server
2024-08-13 15:06:43 +00:00
Nikita Taranov
05b5950948 small fix 2024-08-12 17:31:56 +01:00
Nikita Taranov
f0f10bc009 remove cgroupsV2MemoryControllerEnabled() 2024-08-12 17:30:12 +01:00
Nikita Taranov
57a614857c address review comments 2024-08-12 16:27:01 +01:00
Robert Schulze
037a1006fd
Merge remote-tracking branch 'ClickHouse/master' into ci-fuzzer-enable 2024-08-12 12:28:32 +00:00
Nikita Taranov
ffa1371dde Merge branch 'master' into keep_alive_max_reqs 2024-08-09 12:24:45 +01:00
Yakov Olkhovskiy
b246f7c17c merge master 2024-08-07 16:25:31 +00:00
Nikita Taranov
49871bacc1 fix test 2024-08-07 12:37:39 +01:00
Nikita Taranov
5ae5cd35b5 update 2024-08-06 21:50:31 +01:00
Nikita Taranov
053285dc1c Merge branch 'master' into keep_alive_max_reqs 2024-08-06 20:55:48 +01:00
Alexander Tokmakov
77103aa729 Merge branch 'master' into reject_poco 2024-08-06 19:52:05 +02: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
Nikita Mikhaylov
61cf7668c7
Merge pull request #66549 from ClickHouse/client-base-application
Uninteresting change: introducing `ClientApplicationBase`
2024-07-30 12:50:23 +00:00
Antonio Andelic
2ea4bfe04d
Merge pull request #67098 from ClickHouse/add-numactl
Try calculating available memory if ClickHouse is bound to subset of NUMA nodes
2024-07-30 08:30:58 +00:00
Nikita Mikhaylov
a457db34b2 Fixed a typo 2024-07-29 17:28:04 +00:00
Nikita Mikhaylov
c7c1f10720 Added new method 2024-07-29 17:28:04 +00:00
Antonio Andelic
a9b947d9ac Extract common 2024-07-28 11:51:09 +02:00
Raúl Marín
f2e83f092d Patch getauxval for tsan re-exec 2024-07-25 21:56:42 +02:00
Antonio Andelic
2988e13050 Free bitmask 2024-07-25 13:55:01 +02:00
Raúl Marín
7fedc0ffbe
Update base/glibc-compatibility/musl/getauxval.c
Co-authored-by: Alexander Gololobov <davenger@clickhouse.com>
2024-07-25 12:26:37 +02:00
Antonio Andelic
6557387148 Try calcualting memory with numactl if membind used 2024-07-25 11:49:02 +02:00
Raúl Marín
fda11dc62d Typo 2024-07-24 22:51:26 +02:00
Raúl Marín
e4b50c18c2 getauxval: Avoid crash under sanitizer re-exec due to high ASLR entropy 2024-07-24 22:26:46 +02:00
Nikita Taranov
a11e89f4f7 impl 2024-07-19 19:00:45 +01:00
Nikita Taranov
5608914bca impl 2024-07-17 16:59:31 +01:00
Yakov Olkhovskiy
f07a395bf1 Merge branch 'master' into ci-fuzzer-enable 2024-07-17 03:43:57 +00:00
Alexander Tokmakov
0df6448e0f
Update base/poco/Foundation/include/Poco/ErrorHandler.h
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2024-07-16 14:38:02 +02:00
Alexander Tokmakov
1befa8ea98 Merge branch 'master' into reject_poco 2024-07-16 13:14:03 +02:00
Robert Schulze
99adfbc9ac
Merge remote-tracking branch 'ClickHouse/master' into cgroup_fix 2024-07-15 14:54:11 +00:00
Robert Schulze
2af0edd9e9
Some minor fixups 2024-07-15 08:47:08 +00:00
Yakov Olkhovskiy
698b5ce7fa Merge branch 'master' into ci-fuzzer-enable 2024-07-14 05:31:56 +00:00
Alexander Tokmakov
243edcc8aa add logs and metrics about rejected connections in Poco 2024-07-12 01:11:18 +02:00
Nikita Mikhaylov
7ff447de68 Modify the code for build with new libcxx
(cherry picked from commit c896f0bf677bcc948d988cf83b2108e9f7cd761d)
2024-07-09 20:16:43 +00:00
Vitaly Baranov
6d0bf97476
Merge pull request #66067 from vitlibar/move-http-handler-stuff-to-separate-files
Move some of HTTPHandler stuff to separate source files in order to reuse it in PrometheusRequestHandler
2024-07-08 21:03:22 +00:00
Mikhail Filimonov
7cf38826af Fix detection of number of CPUs in containers
In the case when the 'parent' cgroup was used (i.e. name of cgroup was empty, which is common for containers)
ClickHouse was ignoring the CPU limits set for the container.
2024-07-08 18:12:34 +02:00
Yakov Olkhovskiy
a9aaa2ab78 Merge remote-tracking branch 'origin/master' into ci-fuzzer-enable 2024-07-06 00:48:09 +00:00
Vitaly Baranov
eb7c2e4341 Remove unnecessary "const" from return type. 2024-07-05 21:42:57 +02:00
Robert Schulze
2c94218120
Random header fixes for libcxx 16 2024-07-04 15:39:50 +00:00
Vitaly Baranov
bf56ad69dd Make Context::setCurrentRoles() check that new current roles are granted in order to make HTTPHandler's implementation easier. 2024-07-03 21:23:09 +02:00
Raúl Marín
af4844b284
Merge pull request #61661 from Algunenano/jeaiii
Test Jeaiii's itoa
2024-07-03 16:56:56 +00:00
Raúl Marín
2a1c13b070 Add comment about the changes 2024-07-03 14:25:31 +02:00
Azat Khuzhin
ef24f51789 Fix handling of SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE with zero timeout
Previously if you were using socket without timeout it wasn't able to
handle SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE, and even though sockets
without timeouts is an odd thing (but it is possible - [1]), it still
may be possible somewhere.

  [1]: https://github.com/ClickHouse/ClickHouse/pull/65917

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-01 19:33:39 +02:00
Konstantin Bogdanov
bbfdf1698f
Fix 2024-06-28 05:18:17 +02:00
Raúl Marín
c9b828c078 Merge remote-tracking branch 'blessed/master' into jeaiii 2024-06-25 14:06:33 +02:00
Sema Checherinda
fb2f0e78f7
Merge pull request #63985 from ianton-ru/protocols-tls-extend-params
More parameters for tls layer in protocols
2024-06-24 12:41:56 +00:00
Raúl Marín
636f2506f0 Silence tidy 2024-06-24 11:35:29 +02:00
Raúl Marín
df8341c447 Try to improve low number itoa 2024-06-21 18:30:45 +02:00