-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Upgrade ClickHouse to 21.10.2.15-stable or later #1385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Seems like an easy PR @0xr1. 😉 Not sure how strict we need/want to be with ClickHouse version in SaaS vs. self-hosted, tho ... cf. #1097
Are these locked down in any way in a stock self-hosted install? I think not but maybe, or maybe there is something we can do to lock them down if upgrading ClickHouse isn't as easy as it seems. |
I asked around internally about this and did some digging:
tl;dr It seems we're a ways off from moving past 20.3. |
Is there an Altinity Stable 20.3 that has security fixes and would work for self-hosted? |
It sounds like SaaS has moved to 21.8, so the hard part of the work is out of the way. For ARM I think we can use a stable image As far as I can tell, since 21.8 is an LTS, it got the security patches for the above mentioned CVEs |
Update
|
Notes from talking with SnS team:
Workflow to get this done:
|
Going to attempt to perform this upgrade in prod after backing up clickhouse containers. Using the steps outlined here |
Not yet updating to >21.10.2.15, but making progress! |
New request at #2741 |
Commenting here that the newest clickhouse versions have ARM images, which would be great for us! |
Hello, I was wondering what is blocking upgrades to v22 or v23 of ClickHouse ? As far as I understand we all are using a two year old version, what are the impacts of upgrading ? |
ClickHouse has 2 version: LTS and stable. On my company, I use the stable once, since I'm to lazy to handle big breaking change once the LTS version release. But since 2021 or so, I haven't met any breaking change that broke my app with Cilckhouse. This is their changelog: https://github.com/ClickHouse/ClickHouse/blob/master/CHANGELOG.md Most of the time if there are any "backward incompatible changes", the existing query will be fine, but it won't do anything.
I found some here: https://github.com/getsentry/snuba/blob/master/snuba/replacers/errors_replacer.py, it is executed from here https://github.com/getsentry/snuba/blob/338ae983506f787852c07d16e13a544bb64c5055/snuba/replacer.py#L348-L397 |
Can you confirm the exact version that is working with Sentry on your setup ? |
I'm using the default value on the repo right now. One thing that's different on my deployment is just I switched from Kafka to Redpanda. |
Very cool ! |
It's on Sentry's Discord: https://discord.com/channels/621778831602221064/796028405833007104/1201076383426809948 |
See #3001 for more upgrade news |
Yep, we are working on this :) |
Problem Statement
7 RCE and DoS vulnerabilities were disclosed in ClickHouse DBMS recently. More details here: https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms/
Fix
Solution Brainstorm
ClickHouse version needs to be bumped up here https://github.com/getsentry/self-hosted/blob/master/docker-compose.yml#L189
The text was updated successfully, but these errors were encountered: