Commit Graph

1657 Commits

Author SHA1 Message Date
Sema Checherinda
2d16ab0c07 Merge branch 'master' into chesema-fix-buffer-cancelation 2024-06-17 17:15:29 +02:00
Anton Ivashkin
fc6f2aa59a Small refactoring of CertificateReloader 2024-06-14 14:31:58 +02:00
kssenii
fb32a99578 Initialize global trace collector for Poco::ThreadPool 2024-06-13 19:20:58 +02:00
Sema Checherinda
979e84513b Merge branch 'master' into chesema-dedup-matview 2024-06-13 18:56:46 +02:00
Grigorii Sokolik
80575fe122 Fix CI failure 2024-06-13 14:16:31 +03:00
Grigorii Sokolik
2aa2f2f7da Rollback unnecessary style fixes 2024-06-13 11:21:48 +03:00
Grigorii Sokolik
7bff47701b Fix styles 2024-06-13 11:21:48 +03:00
Grigorii Sokolik
06383d7a7a Fix Static handler 2024-06-13 11:21:47 +03:00
Grigorii Sokolik
979b447451 Fix styles 2024-06-13 11:21:47 +03:00
Grigorii Sokolik
ffa66225d0 Fix tests 2024-06-13 11:21:47 +03:00
Grigorii Sokolik
a417a1c676 feat-59620 Style fix 2024-06-13 11:21:47 +03:00
Grigorii Sokolik
47686e0c4a [feature] A setting http_response_headers
Implementing https://github.com/ClickHouse/ClickHouse/issues/59620
Deprecating `content_type` setting (still supported).
2024-06-13 11:21:47 +03:00
Yarik Briukhovetskyi
07e746d5a4
Merge branch 'ClickHouse:master' into balancing_transform 2024-06-12 12:16:24 +02:00
yariks5s
4a72b36f28 Revert "Revert "roll back some changes""
This reverts commit 66a714e3ee.
2024-06-11 23:26:23 +00:00
yariks5s
66a714e3ee Revert "roll back some changes"
This reverts commit a54d679357.
2024-06-11 22:45:02 +00:00
yariks5s
a54d679357 roll back some changes 2024-06-11 18:46:09 +00:00
yariks5s
7b239f1102 fixes due to review 2024-06-11 17:36:49 +00:00
Sema Checherinda
b35ee73b15 Merge branch 'master' into chesema-fix-buffer-cancelation 2024-06-11 13:27:39 +02:00
yariks5s
f5137c351c Merge branch 'balancing_transform' of https://github.com/yariks5s/ClickHouse into balancing_transform 2024-06-10 18:09:33 +00:00
yariks5s
68e1d8701c fixes due to review 2024-06-10 18:09:07 +00:00
Alexey Milovidov
2c5ebf9ca6
Merge branch 'master' into master 2024-06-05 04:23:37 +02:00
Yarik Briukhovetskyi
34d5c64900
Merge branch 'ClickHouse:master' into balancing_transform 2024-06-04 21:12:06 +02:00
yariks5s
84c8c4ca48 try to assign header unconditionally 2024-05-30 18:28:24 +00:00
yariks5s
5a09dce95d adding header in TCPHandler 2024-05-30 18:06:11 +00:00
yariks5s
826bec2575 added move constructor and removed unused parts 2024-05-30 16:33:48 +00:00
Sema Checherinda
8f4a7a7c09 work with tests 2024-05-30 17:07:36 +02:00
Sema Checherinda
ef3a2fef01 work with tests 2024-05-29 16:45:32 +02:00
Sema Checherinda
3dbd290f21 Merge branch 'master' into chesema-dedup-matview 2024-05-28 18:33:00 +02:00
Robert Schulze
2680683863
Merge pull request #64110 from rschu1ze/redundant-inline
Throw out some `inline`s
2024-05-28 09:55:56 +00:00
yariks5s
00b07bba14 remove squashing 2024-05-27 16:23:01 +00:00
Alexander Tokmakov
3ee2307024
Revert "Refactoring of Server.h: Isolate server management from other logic" 2024-05-27 10:04:19 +02:00
Robert Schulze
4d642a0e6c
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-26 20:43:41 +00:00
Robert Schulze
f182920c98
Merge remote-tracking branch 'ClickHouse/master' into redundant-inline 2024-05-26 14:21:47 +00:00
Robert Schulze
7a313e7358
Merge remote-tracking branch 'ClickHouse/master' into refactor-protocol-server 2024-05-26 13:40:12 +00:00
yariks5s
e6f8338666 memory optimizations and removed unused parts 2024-05-24 20:38:45 +00:00
TTPO100AJIEX
aada1de796 Rename function parameters, remove unnecessary virtual 2024-05-24 15:36:41 +03:00
TTPO100AJIEX
251010f109 Move protocol-server and inter-server management into separate classes
Co-authored-by: Alex Koledaev <ax3l3rator@gmail.com>
2024-05-24 02:14:26 +03:00
Anton Ivashkin
983fa64e4f Fix CertificateReloader usage for custom protocols 2024-05-23 17:53:23 +02:00
yariks5s
d4ec6138c5 Merge branch 'yariks5s-balancing_transform' into balancing_transform 2024-05-23 13:47:28 +00:00
yariks5s
f3c4a25f3f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yariks5s-balancing_transform 2024-05-23 13:43:24 +00:00
Robert Schulze
f584807359
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-22 21:05:27 +00:00
kssenii
1059b51177 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-22 14:13:27 +02:00
Anton Ivashkin
298b19c19d Fix style 2024-05-22 14:10:50 +02:00
Anton Ivashkin
ca45acd57f Use CertificateReloader in TLSHandler 2024-05-22 12:28:40 +02:00
Sema Checherinda
7fe1fe11b9 fixing tests 2024-05-21 17:07:52 +02:00
kssenii
7b225ab59c Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-21 16:58:25 +02:00
Anton Ivashkin
40eef7f027 Fix tidy build 2024-05-21 15:58:00 +02:00
vdimir
4b72748b2a
Better handling illegal user input not to throw unexpected of CORRUPTED_DATA errors 2024-05-21 08:53:30 +00:00
Robert Schulze
a14e58ab88
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-21 05:15:35 +00:00
Anton Ivashkin
b8389925a4 Merge master 2024-05-19 16:12:51 +02:00
Robert Schulze
113bb00005
Fix clang-tidy "-readability-redundant-inline-specifier" 2024-05-19 10:23:58 +00:00
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/ 2024-05-19 09:39:36 +00:00
Alexey Milovidov
bd9709adee
Merge pull request #64022 from ClickHouse/fix-analyzer
Fix a typo in Analyzer
2024-05-17 20:02:13 +02:00
yariks5s
8d235a4a39 remove trash from the code 2024-05-17 15:11:21 +00:00
Anton Ivashkin
f01386fc79 Fix non-SSL build 4 2024-05-17 16:36:55 +02:00
Anton Ivashkin
f4afaf7f18 Fix non-SSL build 3 2024-05-17 16:16:54 +02:00
Anton Ivashkin
72285615cb Fix non-SSL build 2 2024-05-17 15:33:14 +02:00
Anton Ivashkin
222dbe30d8 Fix non-SSL build 2024-05-17 15:06:50 +02:00
Anton Ivashkin
183223b7ba Fix tabs instead of spaces 2024-05-17 14:53:54 +02:00
Anton Ivashkin
20b23b0ff9 Fix variable name style 2024-05-17 14:28:40 +02:00
Alexey Milovidov
26501178e6 Fix analyzer 2024-05-17 10:23:32 +02:00
yariks5s
fed6c65858 add setting to enable planning 2024-05-16 17:57:01 +00:00
Anton Ivashkin
92df0f9737 More parameters for tls layer in protocols 2024-05-16 18:34:17 +02:00
Azat Khuzhin
49a52cdb3f Remove http_max_chunk_size setting (too internal)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-16 18:33:43 +02:00
kssenii
9ce465bb88 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-13 16:14:58 +02:00
yariks5s
a66a81efa3 merge 2024-05-10 11:21:40 +00:00
Alexey Milovidov
a05fccf8cc Useless changes 2024-05-10 07:30:40 +02:00
Alexey Milovidov
a6543a1c48 Useless changes 2024-05-10 05:07:37 +02:00
Alexey Milovidov
426a51b624 Useless changes 2024-05-10 04:53:29 +02:00
Alexey Milovidov
1d69518c4d Useless changes 2024-05-09 02:07:04 +02:00
yariks5s
e1ed0af3d2 Added pointer check, Chunk as argument to PlanSquashingTransform, fully refactored names of functions 2024-05-08 14:28:09 +00:00
kssenii
e9d9f2bc25 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-03 13:55:12 +02:00
Konstantin Bogdanov
273464c963
Merge pull request #63046 from ClickHouse/support-user-expiration
Check user expiration date before query execution
2024-04-30 17:42:58 +00:00
Konstantin Bogdanov
fccb463222
Rename 2024-04-30 16:07:51 +02:00
Konstantin Bogdanov
36014f739a
Rename 2024-04-30 14:52:43 +02:00
Nikita Taranov
8fd38f2abc
Merge pull request #62752 from ClickHouse/log_profile_events_send_timings
Log profile events send timings
2024-04-29 15:41:28 +00:00
kssenii
7a416f2e76 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-28 12:19:32 +02:00
Azat Khuzhin
cf1451ecde Fix possible CHECKSUM_DOESNT_MATCH during replicated fetches
Previously HTTP server does not tries to send exception if something had
been written to the client already, but after rewriting to "zero-copy"
HTTP implementation (back in #19516) this got broken, and you can get
pretty "dangerous" at least at first glance errors, like:
- Malformed chunked encoding
- or most likely to CHECKSUM_DOESNT_MATCH error

This is not crucial because it will never pass checksum checks, but
still icky. So let's fix it.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-28 07:34:08 +02:00
Alexey Milovidov
58792a1935
Merge pull request #60302 from azat/INSERT-receive-timeout
Change back how receive_timeout is handled for INSERTs
2024-04-27 14:55:28 +00:00
Konstantin Bogdanov
64de52397e
Merge pull request #62978 from ClickHouse/fix-grpc-ipv6-crash
gRPC: fix crash on IPv6 peer connection
2024-04-27 06:22:41 +00:00
Konstantin Bogdanov
822a57cb83
Fix integration tests 2024-04-26 19:56:24 +02:00
Konstantin Bogdanov
6d805d094c
Fix harder 2024-04-26 19:37:14 +02:00
kssenii
91014456b5 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-26 19:24:07 +02:00
Konstantin Bogdanov
4c607147ba
Fix 2024-04-26 17:38:02 +02:00
Konstantin Bogdanov
466633729f
Support user expiration 2024-04-26 17:03:40 +02:00
Konstantin Bogdanov
07e4e7fa73
Check for protocol prefix 2024-04-26 16:45:30 +02:00
Konstantin Bogdanov
7326e2a0fa
Fix aborting on IPv6 peer address 2024-04-25 16:44:16 +02:00
kssenii
730995f2a4 Review suggestion 2024-04-22 13:44:36 +01:00
kssenii
4a68b2a877 Allow quota key with different auth scheme 2024-04-22 13:19:59 +01:00
Alexander Gololobov
25cfd48f87
Only log if it took longer than 100 ms 2024-04-18 14:39:23 +01:00
Alexander Gololobov
01b80e754a Log profile events send timings 2024-04-18 11:37:09 +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
slvrtrn
fd81810b9c Use SET_NON_GRANTED_ROLE error code instead of ACCESS_DENIED 2024-04-16 17:14:16 +02:00
slvrtrn
bb6d5d8d55 Support multiple roles via HTTP, update tests 2024-04-16 16:42:56 +02:00
slvrtrn
9889109780 Fix tests, fix error message 2024-04-15 22:07:42 +02:00
slvrtrn
3611415766 Add tests for the role query parameter 2024-04-15 20:41:35 +02:00
slvrtrn
d8fca3bdc5 Merge remote-tracking branch 'origin' into http-interface-role-query-param 2024-04-15 18:25:39 +02:00
slvrtrn
098cc92cdf Add role query param to the HTTP interface 2024-04-15 18:25:11 +02:00
Robert Schulze
3c35f14804
Merge remote-tracking branch 'ClickHouse/master' into mkmkme/protobuf-25.1 2024-04-15 12:38:59 +00:00