ClickHouse® is a real-time analytics DBMS
Go to file
baolin.hbl 7d56c8bd43 Avoid detached covered-by-broken part duplicates
Problem:
When a broken part is found during the startup, it will clone the parts which are
covered by the broken part, to the detached directory (with the 'covered-by-broken' prefix).
A part may be covered by multiple merged parts, which will result in multiple clones, which
leads to path conflicts and further attempts to clone to the try-n directory. If n exceeds 9,
the clone is abandoned and the table is marked as read-only.

pull#41981 tried fixed the problem, but the fix is incomplete. The metadata_version.txt file
is deleted during covered-by-broken clone. As a result,
looksLikeBrokenDetachedPartHasTheSameContent finds differences during part comparison.

Fix:
covered-by-broken retain metadata_version.txt file when cloning
2024-08-29 07:55:23 +00:00
.github CI: Minor release workflow fix 2024-08-19 13:56:40 +02:00
base Miscellaneous changes from #66999 (2) 2024-08-17 01:40:07 +02:00
benchmark Remove old file 2022-07-12 20:28:02 +02:00
cmake revert hacks made to prevent OOM in aarch64 2024-08-17 18:53:43 +02:00
contrib Revert "Improve compatibility of upper/lowerUTF8 with Spark" 2024-08-18 15:25:07 +02:00
docker Merge pull request #68153 from azat/ci/more-logs-in-report 2024-08-19 21:17:49 +00:00
docs Merge pull request #68497 from petern48/fix_postgresql_setting_default 2024-08-19 10:45:35 +00:00
packages Merge pull request #60650 from peter279k/improve_init_script 2024-05-29 11:36:00 +00:00
programs Merge pull request #66895 from MikhailBurdukov/hostresolver_opt 2024-08-19 15:00:31 +00:00
rust Do not clear terminal after skim suggestions 2024-05-02 10:02:06 +02:00
src Avoid detached covered-by-broken part duplicates 2024-08-29 07:55:23 +00:00
tests Avoid detached covered-by-broken part duplicates 2024-08-29 07:55:23 +00:00
utils Add style check for new allow_ settings 2024-08-19 17:59:40 +00:00
.clang-format Stop clang-format trying to remove branches in for loops 2024-05-06 20:58:22 +02:00
.clang-tidy Allow to run clang-tidy with clang-19 2024-07-17 02:08:37 +02:00
.clangd Enable few slow clang-tidy checks for clangd 2023-05-13 14:08:25 +02:00
.editorconfig Do not remove trailing space in *.reference test files (by modern IDEs) by adding it to .editorconfig 2024-06-05 22:55:59 +02:00
.exrc Fix vim settings (wrong group for autocmd) 2022-12-03 21:23:24 +01:00
.git-blame-ignore-revs Add one more revision to ignore 2024-07-14 20:57:02 +02:00
.gitattributes avoid conflicts in SettingsChangesHistory 2024-07-03 15:25:12 +02:00
.gitignore xray: add global xray instrumentation support 2024-05-29 17:33:21 +03:00
.gitmodules Revert "Improve compatibility of upper/lowerUTF8 with Spark" 2024-08-18 15:25:07 +02:00
.snyk Add exclusions from the Snyk scan 2022-10-31 17:47:02 +01:00
.yamllint move Check Descriptions to commit_status_helper 2024-08-05 13:18:37 +02:00
AUTHORS Update AUTHORS 2021-09-22 11:38:03 +03:00
CHANGELOG.md Merge remote-tracking branch 'origin/master' into nojs 2024-08-05 19:53:53 +00:00
CMakeLists.txt Optionally re-enable compilation with -O0 2024-08-14 14:42:39 +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
LICENSE Update License 2024-01-01 15:54:00 +01:00
PreLoad.cmake Initial support for loongarch64 2024-05-14 07:45:26 +00:00
pyproject.toml add automerge prs step 2024-08-01 21:18:14 +02:00
README.md Update README.md 2024-08-01 16:48:19 +02:00
SECURITY.md Update version_date.tsv and changelogs after v24.7.1.2915-stable 2024-07-30 19:20:52 +00:00

Website Apache 2.0 License

The ClickHouse company logo.

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

How To Install (Linux, macOS, FreeBSD)

curl https://clickhouse.com/ | sh
  • Official website has a quick high-level overview of ClickHouse on the main page.
  • ClickHouse Cloud ClickHouse as a service, built by the creators and maintainers.
  • 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 (github.dev) with syntax highlighting, powered by github.dev.
  • Contacts can help to get your questions answered if there are any.

Monthly Release & Community Call

Every month we get together with the community (users, contributors, customers, those interested in learning more about ClickHouse) to discuss what is coming in the latest release. If you are interested in sharing what you've built on ClickHouse, let us know.

Upcoming Events

Keep an eye out for upcoming meetups and events around the world. Somewhere else you want us to be? Please feel free to reach out to tyler <at> clickhouse <dot> com. You can also peruse ClickHouse Events for a list of all upcoming trainings, meetups, speaking engagements, etc.

  • MORE COMING SOON!

Recent Recordings

  • Recent Meetup Videos: Meetup Playlist Whenever possible recordings of the ClickHouse Community Meetups are edited and presented as individual talks. Current featuring "Modern SQL in 2023", "Fast, Concurrent, and Consistent Asynchronous INSERTS in ClickHouse", and "Full-Text Indices: Design and Experiments"
  • Recording available: v24.4 Release Call All the features of 24.4, one convenient video! Watch it now!

Interested in joining ClickHouse and making it your full-time job?

We are a globally diverse and distributed team, united behind a common goal of creating industry-leading, real-time analytics. Here, you will have an opportunity to solve some of the most cutting-edge technical challenges and have direct ownership of your work and vision. If you are a contributor by nature, a thinker and a doer - well definitely click!

Check out our current openings here: https://clickhouse.com/company/careers

Can't find what you are looking for, but want to let us know you are interested in joining ClickHouse? Email careers@clickhouse.com!