ClickHouse® is a real-time analytics DBMS
Go to file
Mikhail Koviazin 9e0414f557
fix data race in SensitiveDataMasker
This commit fixes the data race that was introduced in 3067ca6. That commit
added scope lock for `getInstance` and `setInstance`, but `getInstance`
returned a pointer that could be invalidated between call for `getInstance` and
actual usage of the pointer.

This commit changes `SensitiveDataMasker` singleton from `unique_ptr` to
`shared_ptr`, so even if `setInstance` will be called right after
`getInstance`, the pointer returned from `getInstance` will live long enough to
call `wipeSensitiveData` on it.
2024-01-17 08:10:50 +02:00
.github Run build report check job on build failures, fix (#58135) 2023-12-21 21:30:40 +01:00
base Remove some code 2024-01-13 03:48:04 +01:00
benchmark
cmake Fix error 2024-01-14 08:05:57 +01:00
contrib Fix error 2024-01-14 08:05:57 +01:00
docker Merge pull request #58821 from ClickHouse/do-not-trim-fuzzer-log 2024-01-16 00:01:55 +01:00
docs Support <secret> in cluster discovery 2024-01-15 11:22:53 +00:00
packages
programs Reintroduce commit 3067ca6 2024-01-17 08:10:49 +02:00
rust Replace rust's BLAKE3 with llvm's implementation 2023-12-18 15:29:01 +01:00
src fix data race in SensitiveDataMasker 2024-01-17 08:10:50 +02:00
tests Reintroduce commit 3067ca6 2024-01-17 08:10:49 +02:00
utils Merge pull request #58791 from ClickHouse/better-stateful-tests 2024-01-14 21:39:13 +01:00
.clang-format Fix: incorrect brace style 2023-10-30 16:37:12 +00:00
.clang-tidy Disable '-clang-analyzer-unix.Malloc' for now 2023-09-27 08:51:17 +00:00
.clangd
.editorconfig
.exrc
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmessage Add GH status for PR formatting (#58050) 2023-12-21 11:53:01 +01:00
.gitmodules Merge remote-tracking branch 'rschu1ze/master' into qatzstd_main 2024-01-09 20:36:02 +00:00
.pylintrc
.snyk
.yamllint
AUTHORS
CHANGELOG.md Merge pull request #58552 from larry-cdn77/fix-23.12-changelog-link 2024-01-06 18:12:42 +01:00
CMakeLists.txt
CODE_OF_CONDUCT.md
CONTRIBUTING.md
format_sources
LICENSE Update License 2024-01-01 15:54:00 +01:00
PreLoad.cmake
README.md Throws obfuscated email address elements into codeblocks. 2024-01-09 14:28:13 -04:00
SECURITY.md Update version_date.tsv and changelogs after v23.12.1.1368-stable 2023-12-28 10:32:09 +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

Upcoming Events

Keep an eye out for upcoming meetups around the world. Somewhere else you want us to be? Please feel free to reach out to tyler <at> clickhouse <dot> com.

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: v23.10 Release Webinar All the features of 23.10, one convenient video! Watch it now!
  • All release webinar recordings: YouTube playlist

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!