Commit Graph

1654 Commits

Author SHA1 Message Date
copperybean
8fb89cec9f fix build
Change-Id: I57f025b17a04e2c5dded3f18e7f477841287a2c2
2024-05-11 15:45:06 +08:00
Alexey Milovidov
ced5cc1644 Useless changes 2024-05-10 05:55:04 +02:00
Alexey Milovidov
426a51b624 Useless changes 2024-05-10 04:53:29 +02:00
Alexey Milovidov
c17a3bb944 Useless changes 2024-05-10 03:31:40 +02:00
Alexey Milovidov
97f24f38b8 Useless changes 2024-05-09 03:14:26 +02:00
Alexey Milovidov
1d69518c4d Useless changes 2024-05-09 02:07:04 +02:00
Alexey Milovidov
95f12ef274 Useless changes 2024-05-09 01:08:33 +02:00
Alexey Milovidov
b25defe17a Fixing some clang-tidy warnings 2024-05-08 22:38:52 +02:00
Robert Schulze
5520f26f18
Incorporate review feedback 2024-05-02 08:09:23 +00:00
Robert Schulze
bf7802025f
Merge remote-tracking branch 'rschu1ze/master' into cgroup-no-subtreecontrol 2024-05-02 08:04:50 +00:00
Robert Schulze
2510fc85b0
Recursively check cgroups.controllers files for memory controllers 2024-04-24 10:24:24 +00:00
Alexey Katsman
ca4e2f581a Add columns for values used in the formatting message into system.text_log 2024-04-23 17:26:56 +01:00
Vitaly Baranov
d12608f366
Merge pull request #62669 from slvrtrn/http-interface-role-query-param
Add `role` query parameter to the HTTP interface
2024-04-17 16:39:49 +00:00
slvrtrn
0718a31921 Add NameValueCollection::getAll method 2024-04-16 18:50:39 +02:00
Robert Schulze
7dc05d092b
Merge remote-tracking branch 'rschu1ze/master' into be-less-boring-32 2024-04-15 16:35:10 +00:00
Alexander Tokmakov
a691d30177
Merge pull request #61610 from ClickHouse/fix-data-race-between-move-partition-and-merges
Cancel merges before removing moved parts
2024-04-10 18:19:42 +00:00
loselarry
7774a2a313 chore: fix some comments
Signed-off-by: loselarry <bikangning@yeah.net>
2024-04-10 17:21:25 +08:00
Nikita Taranov
a2147b8ded
Merge branch 'master' into keep_alive_max_reqs 2024-04-09 21:32:36 +02:00
Sema Checherinda
04ea8a85f2
Merge pull request #62249 from ClickHouse/chesema-keep-alive-send-and-receive
several fixes for client's keep alive connections
2024-04-09 10:27:28 +00:00
Robert Schulze
d30b48f54e
Disable session caching to work around tsan races 2024-04-08 11:16:06 +00:00
Robert Schulze
d8b1275e81
Fix test_dictionaries_all_layouts_separate_sources
Fixes:
    <Information> ReadWriteBufferFromHTTP: Failed to make request to `https://localhost:8889/`. Error: SSL Exception: error:0A000126:SSL routines::unexpected eof while reading. Failed at try 9/10. Will retry with current backoff wait is 10000/10000 ms.

--> https://github.com/openssl/openssl/discussions/22690#discussioncomment-7534909
2024-04-08 11:04:28 +00:00
Robert Schulze
2418d673f1
Suppress false positives in leaksan 2024-04-08 11:03:43 +00:00
Sema Checherinda
0bce544779
Update base/poco/Net/src/HTTPClientSession.cpp
Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
2024-04-05 23:07:00 +02:00
Sema Checherinda
ae3a199939 support max requests for keep alive 2024-04-05 00:37:29 +02:00
Sema Checherinda
5cab8d185f more details 2024-04-05 00:37:19 +02:00
Sema Checherinda
dd852da339 add more debug logs 2024-04-05 00:30:03 +02:00
Raúl Marín
76b6c125ff Remove boost dep in wide integers when possible 2024-04-03 20:36:29 +02:00
Sema Checherinda
8e6cbc8b31 several fixes for client's keep alive connections 2024-04-03 15:13:59 +02:00
Alexey Milovidov
a7c490e1df Fix build with clang-19 (master) 2024-04-03 05:42:41 +02:00
Yakov Olkhovskiy
8357bc7b1b fix build 2024-03-31 23:33:35 +00:00
János Benjamin Antal
cf5517a099 Cancel merges during move/replace partition 2024-03-27 11:31:41 +00:00
Nikita Taranov
d7b34a80bb stash 2024-03-22 16:09:14 +00:00
Oxide Computer Company
6e260d9419 poco foundation: add illumos support 2024-03-21 11:15:43 +00:00
Alexey Milovidov
f8c7bcb60c
Merge pull request #61655 from oxidecomputer/36/poco-illumos
Restore poco SUN files
2024-03-21 05:34:03 +03:00
Raúl Marín
de76be248b Revert incorrect change on my part 2024-03-20 17:56:01 +01:00
Raúl Marín
225db5e253 Style 2024-03-20 17:04:52 +01:00
Raúl Marín
7ac0ebbaca Test jeaiii itoa 2024-03-20 16:11:12 +01:00
Oxide Computer Company
981c9e0c12 Restore poco SUN files
These were accidentally deleted as unused in
https://github.com/ClickHouse/ClickHouse/commit/44afecf083b2cfa3d77d2e227f
2024-03-20 14:09:35 +00:00
Raúl Marín
c98634ad8c Merge remote-tracking branch 'blessed/master' into nested_includes 2024-03-20 14:08:10 +01:00
Raúl Marín
6c7be89c61
Merge pull request #61100 from Algunenano/experiment_int128
30x faster printing for 256-bit integers
2024-03-20 12:32:26 +01:00
Raúl Marín
de855ca917 Reduce header dependencies 2024-03-19 17:04:29 +01:00
Robert Schulze
0daaeeab78
Merge pull request #61406 from rschu1ze/enable-clang-tidy-in-headers
Enable clang-tidy in headers
2024-03-18 21:43:26 +01:00
Raúl Marín
a8ea0cbaa6 Merge remote-tracking branch 'blessed/master' into experiment_int128 2024-03-18 16:12:10 +01:00
Raúl Marín
4626a0b3a1 Merge remote-tracking branch 'blessed/master' into experiment_int128 2024-03-18 16:10:32 +01:00
Han Fei
8a54c85f3c
Merge pull request #61049 from hanfei1991/hanfei/check-limit-periodically
Check cgroups memory limit update periodically
2024-03-18 15:15:46 +01:00
Robert Schulze
c17536c3b3
Enable clang-tidy in headers 2024-03-18 08:00:09 +00:00
Raúl Marín
6f1b835a4e Fix comment 2024-03-14 20:46:54 +01:00
Robert Schulze
06d917fcf0
Merge pull request #61150 from rschu1ze/clang-tidy-list
Some clang-tidy fixes
2024-03-14 14:54:41 +01:00
Raúl Marín
b43d1c4eb5 Fix macro 2024-03-14 13:13:33 +01:00
Sema Checherinda
689c715408
Merge pull request #61309 from ClickHouse/chesema-fix-poco-tcp-server
fix data race in poco tcp server
2024-03-14 12:11:52 +01:00
Robert Schulze
3486b4a6e3
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-list 2024-03-14 10:44:20 +00:00
Robert Schulze
4e12b5dc91
Some fixups 2024-03-13 16:54:20 +00:00
Sema Checherinda
e6af636a54 fix data race in poco tcp server 2024-03-13 14:14:35 +01:00
Raúl Marín
cc92b8ffc5 Merge remote-tracking branch 'blessed/master' into experiment_int128 2024-03-13 13:57:41 +01:00
Nikita Mikhaylov
ca282ab451 Better 2024-03-12 17:33:09 +00:00
Nikita Mikhaylov
3149111589
Merge branch 'master' into modern-assert 2024-03-12 18:30:44 +01:00
Nikita Mikhaylov
f3f1f611a4 Better 2024-03-12 17:26:42 +00:00
Robert Schulze
802bae9661
GCC --> clang pragmas 2024-03-11 12:55:56 +00:00
Sema Checherinda
5c41727725 http connections pools 2024-03-10 10:00:18 +01:00
Raúl Marín
68360aa522 Clang format 2024-03-08 18:37:03 +01:00
Raúl Marín
4b964979c2 Digits doesn't belong with itoa anymore 2024-03-08 14:22:38 +01:00
Raúl Marín
07ce390609 No public templates, just happiness 2024-03-08 13:59:24 +01:00
Raúl Marín
2f3c103367 OSX quirks 2024-03-08 12:02:53 +01:00
Raúl Marín
d52027c5a0 Style and comments 2024-03-08 12:00:34 +01:00
Raúl Marín
444595ac57 More speed please Mr. compiler 2024-03-07 20:00:07 +01:00
Raúl Marín
38cbc2c6c4 Restore digits 2024-03-07 18:57:16 +01:00
Nikita Mikhaylov
82ba97c3a7
More explicit template instantiations (#60730) 2024-03-07 17:16:13 +01:00
Raúl Marín
cd9d9018e0 Be able to iterate 2024-03-07 17:15:42 +01:00
Raúl Marín
f0a8d8843d Not x86_64 are lagging behind in features 2024-03-07 11:51:53 +01:00
Raúl Marín
87f3c957c7 Blind experiment 2024-03-06 21:16:22 +01:00
Alexey Milovidov
a7430004b3 Fix real time query profiler on AArch64 2024-03-04 18:13:49 +01:00
Alexey Milovidov
cbf5443585 Remove old code 2024-03-04 00:11:55 +01:00
Alexey Milovidov
c192a448d0 Update to clang-19 2024-02-27 14:37:21 +01:00
Robert Schulze
6a027b3528
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker 2024-02-21 11:48:34 +00:00
Robert Schulze
66ad90e23a
Factorize cgroups-related code into common functions 2024-02-21 11:47:38 +00:00
Yarik Briukhovetskyi
941e179be2
Merge branch 'ClickHouse:master' into div_int_with_decimal 2024-02-14 13:16:13 +01:00
Robert Schulze
7b7ea6d477
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker 2024-02-14 08:56:22 +00: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
Robert Schulze
3a4b6a2379
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker 2024-02-10 13:53:19 +00: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
Robert Schulze
f6f1fd4d26
Initial implementation 2024-02-08 16:06:44 +00:00
Alexey Milovidov
02c0b4c67f Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-02-07 22:45:50 +01:00
Alexey Milovidov
d65a56d967
Merge branch 'master' into enable-coverage-for-debug-build 2024-02-07 04:58:21 +01:00
Raúl Marín
b609fc157f Silence tidy 2024-02-06 20:33:32 +01:00
Raúl Marín
333c45634f Infinite recursion 2024-02-06 20:33:32 +01:00
Raúl Marín
0a4e73a98d Strict aliasing for Int8 2024-02-06 20:33:32 +01:00
robot-ch-test-poll4
3af96c6970
Merge pull request #59435 from rschu1ze/nested-memory-cgroups
Consider nested cgroup memory limits for the total memory tracker
2024-02-06 20:18:00 +01:00
Robert Schulze
ad13a57b7f
Improve detection of v2 capabilities 2024-02-05 13:43:55 +00:00
Robert Schulze
7d8fbf90cd
Merge remote-tracking branch 'rschu1ze/master' into nested-memory-cgroups 2024-02-05 13:26:51 +00:00
mikhnenko
a2fc3facca Add missed #include <bit> and <exception> 2024-02-05 13:21:06 +03:00
Raúl Marín
87d493533c
Revert "Poco Logger small refactoring" 2024-02-02 12:10:05 +01:00
Robert Schulze
80a0e05ac4
Resurrect v1 2024-02-02 10:46:07 +00:00
Robert Schulze
e997168b50
Support memory limits in nested cgroups 2024-02-02 10:46:07 +00:00
yariks5s
d5eec2d85b trying to fix (casting the result to int) 2024-02-01 16:27:57 +00:00
Robert Schulze
3243ea0b66
Remove cgroups v1 support to simplify the code going forward 2024-02-01 12:16:31 +00:00
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