Commit Graph

1613 Commits

Author SHA1 Message Date
vdimir
7eddb93935
Merge branch 'master' into pr/allmazz/63279 2024-07-30 10:54:45 +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
Antonio Andelic
a9b947d9ac Extract common 2024-07-28 11:51:09 +02:00
Kirill Nikiforov
c23e3d8663
Merge branch 'master' into mongodb_refactoring 2024-07-27 15:33:46 +03: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
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
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
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
vdimir
77bdd5da8d
Merge branch 'master' into mongodb_refactoring 2024-06-27 12:24:04 +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
Kirill Nikiforov
a6c9150621
Merge branch 'master' into mongodb_refactoring 2024-06-23 21:26:50 +03:00
Raúl Marín
df8341c447 Try to improve low number itoa 2024-06-21 18:30:45 +02:00
Raúl Marín
c70977bf1d Merge remote-tracking branch 'blessed/master' into jeaiii 2024-06-21 17:26:11 +02:00
Sema Checherinda
e36a641a80 Merge branch 'master' into protocols-tls-extend-params 2024-06-20 19:02:12 +02:00
Sergei Trifonov
e97c730e85
Revert "Use 1MB HTTP buffers to avoid frequent send syscalls" 2024-06-20 17:06:18 +02:00
Robert Schulze
ddb1ebe66a
Merge pull request #65396 from rschu1ze/revert-obsolete-openssl-fix
Move a leaksan suppression from Poco into OpenSSL
2024-06-19 20:47:28 +00:00
Kseniia Sumarokova
784f66cf2f
Merge pull request #65239 from ClickHouse/tracing-try-2
Initialize global profiler for Poco::ThreadPool (needed for keeper, etc)
2024-06-19 09:00:46 +00:00
Robert Schulze
466aec959a
Revert "Suppress false positives in leaksan"
This reverts commit 2418d673f1.
2024-06-19 08:30:44 +00:00
Sergei Trifonov
f1cf1751f3
Merge pull request #65028 from ClickHouse/fix-poco-send-http-buffer
Use 1MB HTTP buffers to avoid frequent send syscalls
2024-06-18 18:38:38 +00:00
Robert Schulze
e3818a9794
Re-enable session caching 2024-06-17 12:16:02 +00:00
Kirill Nikiforov
dc50abd671
Merge branch 'master' into mongodb_refactoring 2024-06-15 02:41:40 +03:00
kssenii
fb32a99578 Initialize global trace collector for Poco::ThreadPool 2024-06-13 19:20:58 +02:00
Duc Canh Le
79a660c018 Merge branch 'master' into bump_fmt_9
Fix CI
2024-06-11 03:39:03 +00:00
Duc Canh Le
1fb5b35dd9 explicitly define formatter for StringRef
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-10 13:53:25 +00:00
serxa
ab79addee4 use 1MB HTTP buffers to avoid frequnet send syscalls 2024-06-09 12:55:31 +00:00
Duc Canh Le
de5258128e update fmtlib version to 9.1.0
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-07 06:44:36 +00:00
Alexey Milovidov
84914f2c3d Remove iostream_debug_helpers 2024-06-04 05:48:45 +02:00
Kirill Nikiforov
eb6713dfc1
possibility to use the legacy impl, settings for ignore query build failure, fix ssl 2024-06-02 03:29:00 +03:00
Kirill Nikiforov
4f5fdb4db2
Merge branch 'master' into HEAD 2024-06-02 03:28:26 +03:00
Robert Schulze
f182920c98
Merge remote-tracking branch 'ClickHouse/master' into redundant-inline 2024-05-26 14:21:47 +00:00
Kirill Nikiforov
25f70496e5
Merge branch 'master' into mongodb_refactoring 2024-05-26 02:04:41 +03:00
Anton Ivashkin
983fa64e4f Fix CertificateReloader usage for custom protocols 2024-05-23 17:53:23 +02:00