ClickHouse® is a real-time analytics DBMS
Go to file
Azat Khuzhin 9eeb856519 Fix INSERT into Distributed hung due to ProfileEvents
Right now RemoteInserter does not read ProfileEvents for INSERT, it
handles them only after sending the query or on finish.

But #37391 sends them for each INSERT block, but sometimes they can be
no ProfileEvents packet, since it sends only non-empty blocks.

And this adds too much complexity, and anyway ProfileEvents are useless
for the server, so let's send them only if the query is initial (i.e.
send by user).

Note, that it is okay to change the logic of sending ProfileEvents w/o
changing DBMS_TCP_PROTOCOL_VERSION, because there were no public
releases with the original patch included yet.

Fixes: #37391
Refs: #35075
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-22 15:41:15 +03:00
.github Launch cherry-pick/backport job on graviton 2022-06-16 17:49:26 +02:00
base Merge remote-tracking branch 'origin/master' into clang-tsa 2022-06-20 16:39:32 +02:00
benchmark Add benchmark script for testing clouds 2022-05-09 04:05:32 +02:00
cmake Merge remote-tracking branch 'origin/master' into clang-tsa 2022-06-20 16:39:32 +02:00
contrib Merge pull request #38068 from ClickHouse/clang-tsa 2022-06-21 20:19:33 +02:00
docker Merge pull request #38213 from azat/stress-thread-fuzzer-v2 2022-06-20 16:46:31 +03:00
docs Merge pull request #38292 from gsenseless/master 2022-06-22 06:30:46 +03:00
packages Fix strange whitespace (or I do not know YAML) 2022-04-24 22:38:59 +02:00
programs Merge pull request #38197 from ClickHouse/play-charts 2022-06-22 06:42:05 +03:00
src Fix INSERT into Distributed hung due to ProfileEvents 2022-06-22 15:41:15 +03:00
tests Fix INSERT into Distributed hung due to ProfileEvents 2022-06-22 15:41:15 +03:00
tools/clickhouse-diagnostics Fix table count 2022-06-22 10:10:16 +01:00
utils Merge pull request #38287 from ClickHouse/trace-viz-fix 2022-06-21 20:59:35 +02:00
website Update README.md 2022-06-13 07:21:04 +03:00
.clang-format add BeforeLambdaBody to .clang-format 2022-02-11 16:51:45 +01:00
.clang-tidy Revert "Fix errors of CheckTriviallyCopyableMove type" 2022-06-07 13:53:10 +02:00
.editorconfig Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
.gitattributes mark test data as binary 2022-01-22 03:19:47 +03:00
.gitignore Add cmake page back to docs && fix /settings/settings in /zh 2022-04-24 16:47:19 -06:00
.gitmodules Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
.pylintrc Cover deprecated bad-* pylint options with black 2022-06-08 14:18:28 +02:00
.vimrc Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
.yamllint Drop truthy.check-keys from yamllint (does not supported on CI) 2021-02-21 06:15:36 +03:00
AUTHORS Update AUTHORS 2021-09-22 11:38:03 +03:00
CHANGELOG.md Edits 2022-06-16 14:21:13 +02:00
CMakeLists.txt Minor follow-up 2022-06-14 08:52:13 +00:00
CODE_OF_CONDUCT.md Add minimal code of conduct #9676 2020-03-16 12:44:28 +03:00
CONTRIBUTING.md Mention ClickHouse CLA in CONTRIBUTING.md (#32697) 2021-12-14 03:47:19 +03:00
format_sources allow several <graphite> targets (#603) 2017-03-21 23:08:09 +04:00
LICENSE Update year 2022-01-27 01:01:27 +03:00
PreLoad.cmake Surround ENV{} in quotes in PreLoad.cmake 2022-06-03 17:30:43 +03:00
README.md Update README.md 2022-06-14 12:44:37 +03:00
SECURITY.md utils/security-generator/SECURITY.md.sh > SECURITY.md 2022-06-16 22:56:34 +02:00

ClickHouse — open source distributed column-oriented DBMS

ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time.

  • Official website has a quick high-level overview of ClickHouse on the main page.
  • Tutorial shows how to set up and query a small ClickHouse cluster.
  • Documentation provides more in-depth information.
  • YouTube channel has a lot of content about ClickHouse in video format.
  • Slack and Telegram allow chatting with ClickHouse users in real-time.
  • Blog contains various ClickHouse-related articles, as well as announcements and reports about events.
  • Code Browser (Woboq) with syntax highlight and navigation.
  • Code Browser (github.dev) with syntax highlight, powered by github.dev.
  • Contacts can help to get your questions answered if there are any.