ClickHouse® is a real-time analytics DBMS
Go to file
Azat Khuzhin c801469e9e Fix LOGICAL_ERROR with max_read_buffer_size=0 during reading marks
The problem is that the buffer size validated after marks reading in
MergeTreeReaderStream::init(), since it requires to read marks first.

And later it is passed to AsynchronousReadBufferFromFileDescriptor,
which throws LOGICAL_ERROR because buffer_size < alignment.

Fix this my simply disallow such values for max_read_buffer_size (I
thougt about modifying createReadBufferFromFileBase(), but it is not
used for remote reads -- remote_fs_buffer_size).

Fixes: #40669
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-27 14:12:07 +02:00
.github
base
benchmark
cmake
contrib
docker tests/stress: capture stacktrace of server hungs if pid was removed already 2022-08-26 22:06:32 +03:00
docs add label 2022-08-26 20:15:45 -04:00
packages Fix doinst.sh generator for tgz packages 2022-08-26 20:09:56 +02:00
programs
src Fix LOGICAL_ERROR with max_read_buffer_size=0 during reading marks 2022-08-27 14:12:07 +02:00
tests Fix LOGICAL_ERROR with max_read_buffer_size=0 during reading marks 2022-08-27 14:12:07 +02:00
utils Add CurrentMetrics::Value to check-style 2022-08-25 09:31:22 +00:00
website
.clang-format
.clang-tidy
.editorconfig
.gitattributes
.gitignore
.gitmodules fix build with clang-15 2022-08-01 18:00:54 +02:00
.pylintrc
.vimrc
.yamllint
AUTHORS
CHANGELOG.md Update CHANGELOG.md 2022-08-24 03:35:51 +03:00
CMakeLists.txt
CODE_OF_CONDUCT.md
CONTRIBUTING.md Mention ClickHouse CLA in CONTRIBUTING.md (#32697) 2021-12-14 03:47:19 +03:00
format_sources
LICENSE Update year 2022-01-27 01:01:27 +03:00
PreLoad.cmake Update PreLoad.cmake 2022-08-26 18:30:05 +08:00
README.md
SECURITY.md

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.

Upcoming events

  • v22.8 Release Webinar Original creator, co-founder, and CTO of ClickHouse Alexey Milovidov will walk us through the highlights of the release, provide live demos, and share vision into what is coming in the roadmap.