Robert Schulze
ad0c0d8727
Factorize cgroup memory access code
...
This fixes the edge case that cgroup memory limit "0" is no longer
interpreted as "no limit" but as actual zero available memory, see (*).
The cgroup default setting "max" continues to be interpreted as "no
limit".
(*) https://docs.kernel.org/admin-guide/cgroup-v2.html
2024-02-01 12:15:51 +00:00
Robert Schulze
92a00d317c
Cosmetics
2024-02-01 12:14:03 +00:00
Maksim Kita
f62fdb86b8
Fixed tests
2024-02-01 12:51:50 +03:00
Maksim Kita
056108667f
Fixed tests
2024-02-01 12:51:50 +03:00
Maksim Kita
ecbea6f625
Updated implementation
2024-02-01 12:51:50 +03:00
Maksim Kita
88f1381739
Poco Logger small refactoring
2024-02-01 12:51:50 +03:00
Maksim Kita
86a542b5c4
Updated implementation
2024-01-30 17:15:29 +03:00
Alexey Milovidov
eb54432cbe
Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build
2024-01-30 03:53:11 +01:00
Alexey Milovidov
4a94ae5a1b
Merge branch 'master' into enable-coverage-for-debug-build
2024-01-28 22:24:26 +01:00
Maksim Kita
bccd8b5e27
Fixed tests
2024-01-28 13:55:44 +03:00
Maksim Kita
50309dfd90
Fixed tests
2024-01-28 13:55:44 +03:00
Maksim Kita
07750ee949
Added AtomicLogger
2024-01-28 13:55:44 +03:00
Maksim Kita
485a46f610
Fixed tests
2024-01-25 14:31:49 +03:00
Maksim Kita
109337e91e
Updated implementation
2024-01-25 14:31:49 +03:00
Maksim Kita
6f698b40ae
Poco update Logger to allow create shared LoggerPtr
2024-01-25 14:31:18 +03:00
Maksim Kita
bd8bbdaeb3
Poco update RefCountedObject with std::atomic
2024-01-25 14:31:18 +03:00
Nikita Taranov
4d6ef8ed86
Merge pull request #56961 from nickitat/some_questionable_code
...
Bypass `Poco::BasicBufferedStreamBuf` in `ReadBufferFromIStream`
2024-01-22 14:08:09 +01:00
Alexey Milovidov
b967cc6af9
Fix error
2024-01-21 15:30:50 +01:00
Alexey Milovidov
51cc01f8be
Minor change
2024-01-21 14:36:03 +01:00
Nikita Taranov
bbf070caa6
impl
2024-01-17 14:08:02 +01:00
Alexey Milovidov
3e09feda33
More functions
2024-01-15 00:36:07 +01:00
Alexey Milovidov
3d904cbf81
Slightly better
2024-01-14 08:09:08 +01:00
Alexey Milovidov
d112492c56
Remove some code
2024-01-13 03:48:04 +01:00
Azat Khuzhin
9a8b308a3d
Correctly handle keys with dot in the name in configurations XMLs
...
For this I've added escape of the keys returned by keys() method, and
handle this escaping in get*() methods.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-29 17:30:23 +01:00
Azat Khuzhin
f066f31514
Adjust all std::ios implementations in poco to set failbit/badbit by default
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-22 18:34:34 +01:00
Andrei Fedotov
341806d440
Fix Integer overflow in Poco::UTF32Encoding
2023-12-20 16:29:17 +03:00
Igor Nikonov
73ff984755
Remove select() usage
2023-12-04 09:33:34 +00:00
Alexander Tokmakov
d18828c826
Revert "Mark select() as harmful function"
2023-11-24 14:04:42 +01:00
Igor Nikonov
56e0661a73
Merge pull request #57156 from ClickHouse/harmful-select-trap
...
Mark select() as harmful function
2023-11-23 20:17:01 +01:00
Igor Nikonov
673dec6b60
Add pselect() to harmful functions as well
2023-11-23 17:30:59 +00:00
Igor Nikonov
64d6fe3520
Mark select() as harmful function
2023-11-23 16:48:40 +00:00
Alexey Milovidov
b205d4919d
Remove garbage
2023-11-20 01:24:28 +01:00
Alexey Milovidov
d385217012
One step back
2023-11-20 01:15:04 +01:00
Alexey Milovidov
241cc2abf4
Merge branch 'master' into remove-useless-install
2023-11-20 01:12:08 +01:00
Sema Checherinda
a950595c24
Merge pull request #56314 from CheSema/s3-aggressive-timeouts
...
s3 adaptive timeouts
2023-11-19 14:12:14 +01:00
Sema Checherinda
74a8f3191d
Update HTTPSession.cpp
2023-11-17 11:38:56 +01:00
Alexey Milovidov
482d8ca9d8
Merge pull request #56102 from ClickHouse/coverage
...
Granular code coverage with introspection
2023-11-16 23:23:40 +01:00
Sema Checherinda
4a1e207e7a
review notes
2023-11-16 12:31:00 +01:00
Sema Checherinda
6e3e6383ba
perf check 2
2023-11-15 19:00:27 +01:00
Sema Checherinda
64c2a69666
check performance
2023-11-14 20:28:37 +01:00
Sema Checherinda
3075bd9745
track clickhouse high level retries
2023-11-14 11:34:12 +01:00
Sema Checherinda
45de9beab4
set new timeout for session from connection pool
2023-11-14 11:34:12 +01:00
Alexey Milovidov
80bbe7dcc6
Less CMake checks
2023-11-14 06:55:06 +01:00
Alexey Milovidov
3ef14f6098
Merge branch 'master' of github.com:ClickHouse/ClickHouse into coverage
2023-11-14 06:08:32 +01:00
Alexey Milovidov
8c9f12fe17
Update wide_integer_impl.h
2023-11-14 08:05:33 +03:00
Alexey Milovidov
a05091be04
Miscellaneous
2023-11-13 09:06:18 +01:00
Alexey Milovidov
ff11d69be4
Returned comment
2023-11-10 02:32:17 +01:00
Alexey Milovidov
453b747d03
Added [[noreturn]]
2023-11-10 02:31:39 +01:00
Alexey Milovidov
a267da8f52
Add [[noreturn]]
2023-11-10 02:31:39 +01:00
Alexey Milovidov
1432d952ac
chasset will make sense for the static analyzer
2023-11-10 02:31:39 +01:00
Alexey Milovidov
cd94d02455
Merge branch 'master' into coverage
2023-11-04 21:49:59 +01:00
Arthur Passos
b6e205dcdf
Add ClickHouse setting to disable tunneling for HTTPS requests over HTTP proxy ( #55033 )
...
* initial commit. integ tests passing, need to re-run unit & my own personal tests
* partial refactoring to remove Protocol::ANY
* improve naming
* remove all usages of ProxyConfiguration::Protocol::ANY
* fix ut
* blabla
* support url functions as well
* support for HTTPS requests over HTTP proxy with tunneling off
* remove gtestabc
* fix silly mistake
* ...
* remove usages of httpclientsession::proxyconfig in src/
* got you
* remove stale comment
* it seems like I need reasonable defaults
* fix ut
* add some comments
* remove no longer needed header
* matrix out
* add https over http proxy with no tunneling
* soem docs
* partial refactoring
* rename to use_tunneling_for_https_requests_over_http_proxy
* improve docs
* use shorter version
* remove useless test
* rename the setting
* update
* fix typo
* fix setting docs typo
* move ); up
* move ) up
2023-11-04 13:47:52 -04:00
kothiga
f570b85e25
Disambiguate crc32 from crc32c for s390x impl.
2023-10-31 11:21:37 -07:00
kothiga
0411f04dd3
Correct the Big Endian state serialization/deserialization for various aggregate functions.
2023-10-31 11:21:37 -07:00
Alexey Milovidov
ad4bde6b8b
Fix build
2023-10-30 03:54:11 +01:00
Alexey Milovidov
aaca32f6a7
Add function coverageAll
2023-10-30 03:22:49 +01:00
Alexey Milovidov
70e3dd808c
Granular code coverage with introspection
2023-10-29 02:07:24 +01:00
Maksim Kita
aa5fc05a55
Revert "Merge pull request #55682 from ClickHouse/revert-35961-decimal-column-improve-get-permutation"
...
This reverts commit f6dee5fe3c
, reversing
changes made to f96bda1deb
.
2023-10-25 21:48:13 +03:00
Maksim Kita
0e176fa0ed
Fixed code review issues
2023-10-24 19:39:25 +03:00
Maksim Kita
d363e062f1
Updated implementation
2023-10-23 12:00:29 +03:00
Alexey Milovidov
2da1ff4b0d
Revert "Improve ColumnDecimal, ColumnVector getPermutation performance using pdqsort with RadixSort"
2023-10-16 19:07:11 +03:00
Alexey Milovidov
e204b1d616
Merge pull request #55419 from evillique/mongo-fix
...
Fix MongoDB connection issues
2023-10-10 01:30:04 +02:00
Nikolay Degterinsky
a1e56a3df1
Fix MongoDB connection issues
2023-10-09 14:46:48 +00:00
Michael Kolupaev
1ac2247b3c
Add desperate instrumentation for debugging deadlock in MultiplexedConnections ( #54940 )
2023-09-26 13:24:06 -07:00
Maksim Kita
f7494a5e45
Added documentation
2023-09-25 17:29:42 +03:00
Maksim Kita
1de95d8c36
Updated implementation
2023-09-25 17:29:42 +03:00
Robert Schulze
f5137dd0b4
More clang-tidy fixes
2023-09-21 14:40:57 +00:00
Robert Schulze
50c51c2854
Fix new clang-tidy-s
2023-09-20 22:17:39 +00:00
Maksim Kita
f32effb627
AARCH64 Neon memequal wide
2023-08-20 12:45:18 +03:00
Alexey Milovidov
d87997d001
Merge pull request #52893 from knoguchi/CVE-2016-2183
...
CVE-2016-2183: disable 3DES
2023-08-12 03:34:49 +03:00
Alexey Milovidov
46c606b678
Merge pull request #53072 from ClickHouse/fix-comment
...
Fix a comment
2023-08-12 03:06:15 +03:00
Alexey Milovidov
c89c966d61
Merge branch 'master' into fix-comment
2023-08-10 17:03:31 +03:00
Alexey Milovidov
b5273e75bc
Fix AArch64
2023-08-09 03:29:25 +02:00
Alexey Milovidov
4d02a924e6
Fix AArch64
2023-08-09 03:29:07 +02:00
Alexey Milovidov
1c9cff551e
Continue on garbage removal
2023-08-09 02:58:12 +02:00
Alexey Milovidov
aa757490bd
Ditch tons of garbage
2023-08-09 02:19:02 +02:00
Alexey Milovidov
264bff8c9f
Fix a comment
2023-08-05 01:44:16 +02:00
Kenji Noguchi
17c4abce10
CVE-2016-2183: disable 3DES
2023-08-01 10:44:43 -07:00
Alexey Milovidov
4578d43f79
Merge pull request #52656 from Avogar/rename-setting-for-url-encoding
...
Rename setting disable_url_encoding to enable_url_encoding and add a test
2023-08-01 16:09:01 +03:00
Igor Nikonov
c270393495
Add abortOnFailedAssertion() declaration in defines.h
2023-07-29 14:56:43 +00:00
avogar
b5fc34b770
Rename setting disable_url_encoding to enable_url_encoding and add a test
2023-07-27 12:20:33 +00:00
Igor Nikonov
1ead0d7dac
Merge remote-tracking branch 'origin/master' into distinct-in-order-sqlancer-crashes
2023-07-26 22:05:10 +00:00
Igor Nikonov
83fd3d4c89
Additional checks related to DistinctSortedChunkTransform
...
In response to suspicious crash reports from sqlancer for DISTINCT queries
2023-07-26 21:59:13 +00:00
Alexander Tokmakov
954a1d3ede
Improve logging macros ( #52519 )
...
* improve logging macros
* fix
* Update logger_useful.h
* fix
* fix
2023-07-26 23:38:14 +03:00
Alexey Milovidov
168b84a592
Merge pull request #52337 from Avogar/no-decode-url
...
Allow to disable decoding/encoding path in uri in URL engine
2023-07-25 05:43:06 +03:00
Kruglov Pavel
c35da36ff2
Fix default value
2023-07-24 19:50:53 +02:00
Antonio Andelic
10c2d5dade
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-21 13:24:18 +02:00
avogar
f6a44f8eed
Better
2023-07-20 12:40:41 +00:00
avogar
483ddb53eb
Fixes
2023-07-19 19:51:58 +00:00
avogar
2b8e4ebd4c
Allow to disable decoding/encoding path in uri in URL engine
2023-07-19 19:48:39 +00:00
Antonio Andelic
61dc020b4d
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-17 12:50:17 +02:00
Aleksei Filatov
08defa36b2
Add code
2023-07-15 08:18:35 +03:00
Alexander Tokmakov
93b76c9321
better logs on shutdown
2023-07-07 18:40:43 +02:00
Mike Kot
b4f750ed66
review fixes
2023-07-07 00:20:54 +03:00
Mike Kot
8b6376005a
"reconfig" support for CH Keeper
2023-07-07 00:20:54 +03:00
alesapin
23c1210a8f
Merge branch 'master' into remove_poco_memory_pool
2023-07-04 12:01:39 +02:00
Alexander Sapin
a74bc6190d
Implement suggestion
2023-07-03 15:46:30 +02:00
Alexander Sapin
d1c4a37473
Remove MemoryPool from Poco because it's useless
2023-07-03 14:38:38 +02:00
Vitaly Baranov
fe93e687de
Add comments.
2023-06-30 11:15:15 +02:00
Vitaly Baranov
0cccba62cf
Support getHexUIntLowercase() with CityHash_v1_0_2::uint128 parameter.
2023-06-29 15:29:37 +02:00
Vitaly Baranov
fb6243ec9d
Merge pull request #51040 from vitlibar/reorder-part-checksum-halves
...
Show halves of checksums in correct order
2023-06-29 12:04:51 +02:00
Vitaly Baranov
5570863676
Merge branch 'master' into reorder-part-checksum-halves
2023-06-28 17:25:34 +02:00
Nikita Mikhaylov
d24c5ab01f
Merge branch 'master' into fix-ip-aggregate-state
2023-06-27 14:11:26 +02:00
Alexey Milovidov
03570cc733
Merge branch 'remove-console-certificate-handler' into many-fixes
2023-06-27 05:27:25 +02:00
Alexey Milovidov
0e88aae9d7
Remove ConsoleCertificateHandler
2023-06-26 04:27:50 +02:00
Vitaly Baranov
71cded08ff
Remove unnecessary include <city.h> from wide_integer_impl.h
2023-06-25 18:44:29 +02:00
Vitaly Baranov
3711430d9f
Rename member fields of CityHash_v1_0_2::uint128: "first" -> "low64", "second" -> "high64".
2023-06-24 12:25:56 +02:00
Alexey Milovidov
786987a29a
Remove garbage from function transform
2023-06-24 05:49:12 +02:00
Alexey Milovidov
c097e6e53d
Merge pull request #50531 from kitaisreal/jit-infrastructure-refactoring
...
JIT infrastructure refactoring
2023-06-20 21:13:44 +03:00
Maksim Kita
7e5017dd31
Fixed tests
2023-06-20 11:42:22 +03:00
Alexander Tokmakov
b4e455430c
Merge branch 'master' into rmt_better_background_tasks_scheduling
2023-06-17 22:19:21 +03:00
Yakov Olkhovskiy
cf301324fb
Merge branch 'master' into fix-ip-aggregate-state
2023-06-16 12:49:17 -04:00
Nikolay Degterinsky
9ad8e022a8
Merge branch 'master' into update-mongo
2023-06-10 10:58:02 +02:00
Yakov Olkhovskiy
b9df4304d4
Merge branch 'master' into fix-ip-aggregate-state
2023-06-09 10:06:43 -04:00
Yakov Olkhovskiy
393c0c3a4f
Merge pull request #50240 from aalexfvk/fix_https_replication_changed_ip_bug
...
Fix reconnecting of HTTPS session when target host IP was changed
2023-06-08 08:58:48 -04:00
Alexander Tokmakov
d2aa1779ed
Merge branch 'master' into rmt_better_background_tasks_scheduling
2023-06-07 14:58:50 +02:00
Yakov Olkhovskiy
760483d8d3
multiple fixes
2023-06-06 04:18:51 +00:00
Yakov Olkhovskiy
34c4b89b16
fix backward compatibility for IP types hashing in aggregate functions
2023-06-04 16:23:34 +00:00
Alexey Milovidov
8c1091dc58
Merge branch 'master' into fix-secure-async-read-write
2023-06-04 05:06:59 +03:00
alekar
cb85e5a01e
Update base/base/getMemoryAmount.cpp
...
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2023-05-31 10:00:43 -07:00
alekar
495580918a
Update base/base/getMemoryAmount.cpp
...
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2023-05-31 10:00:19 -07:00
alekar
64cc0a4a69
Merge branch 'master' into minor-cgroup-improvements
2023-05-31 01:52:38 -07:00
Manas Alekar
65586c50f5
Minor improvements in CGroup awareness.
...
1. Support CGroup2 in getMemoryAmountOrZero().
2. Report CFS period and quota in asynchronous metric log.
2023-05-31 01:52:02 -07:00
avogar
ef9bae50b9
Fix bugs in Poco, use true non-blocking IO
2023-05-26 23:11:57 +00:00
Aleksei Filatov
2a2c35e4c1
Fix changed IP for https session
2023-05-26 09:08:34 +03:00
Alexander Tokmakov
b8305503d8
more flexible cleanup thread scheduling
2023-05-22 19:07:18 +02:00
Nikolay Degterinsky
183f90e45a
Update MongoDB protocol
2023-05-22 09:05:23 +00:00
Azat Khuzhin
65dd87d0da
Fix "reference binding to misaligned address" in PackedHashMap
...
Use separate helpers that accept/return values, instead of reference,
anyway PackedHashMap is developed for small structure.
v0: fix for keys
v2: fix for values
v3: fix bitEquals
v4: fix for iterating over HashMap
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-19 06:07:21 +02:00
Nikita Taranov
3f6ca2f9e8
Backport fix for UBSan error in musl/logf.c
2023-05-09 19:05:40 +02:00
Alexey Milovidov
900f8e50e3
Fix one-off error found by UBSan
2023-05-08 04:08:13 +02:00
Alexey Milovidov
355d5af786
Remove some code
2023-05-06 18:33:45 +02:00
ltrk2
20cd799e51
Add CMake option for BOOST_USE_UCONTEXT
2023-05-05 16:29:21 +00:00
Nikolay Degterinsky
434aa3e4e0
Fix build
2023-04-28 18:54:18 +00:00
alesapin
6fecdef0fe
Fix glibc compatibility check
2023-04-25 15:35:28 +02:00
Vladimir C
6090648fc8
Merge pull request #43606 from arthurpassos/parsey_key_value_function
2023-04-24 11:03:28 +02:00
Alexey Milovidov
ff5ec30b0b
Merge pull request #49005 from ClickHouse/fix-ibm
...
Reimplement #48986
2023-04-24 01:39:22 +03:00
Robert Schulze
bb09ce2516
Remove some stuff from poco
2023-04-23 14:48:45 +00:00
Alexey Milovidov
b46b0f02e3
Remove some code
2023-04-23 07:29:53 +02:00
Alexey Milovidov
30c3ae6907
Remove some code
2023-04-23 07:27:47 +02:00
Alexey Milovidov
7d7de1702f
Remove some code
2023-04-23 07:24:50 +02:00
Alexey Milovidov
5628ff2c3f
Remove some code
2023-04-23 06:50:42 +02:00
Alexey Milovidov
28e03f5781
Merge branch 'master' into fix-ibm
2023-04-23 06:01:41 +02:00
alekseygolub
e78f1220fb
Merge branch 'ClickHouse:master' into dashedsettings
2023-04-23 00:47:39 +03:00
Alexey Milovidov
252c755323
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-ibm
2023-04-21 12:39:13 +02:00
Alexey Milovidov
530b764953
Fix IBM
2023-04-21 12:38:45 +02:00
alekseygolub
c974dc0de6
Merge branch 'master' into dashedsettings
2023-04-21 11:25:42 +03:00
Aleksei Golub
1ec5773dc6
Added dashed-settings and support for unicode dash in cli arguments
2023-04-20 20:11:28 +03:00
Arthur Passos
43841a6ee6
Merge branch 'master' into parsey_key_value_function
2023-04-20 10:05:34 -03:00
Kruglov Pavel
2ad161d2b7
Merge branch 'master' into non-blocking-connect
2023-04-19 13:39:40 +02:00
Kruglov Pavel
cd88024a33
Merge pull request #48556 from ClickHouse/fix-nested-map-ip-uuid
...
Fix nested map for keys of IP and UUID types
2023-04-18 13:03:50 +02:00