Skip to content
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

feat(clickhouse): update ClickHouse version to 22.8.15.23 #1550

Merged
merged 1 commit into from
Oct 15, 2024
Merged

feat(clickhouse): update ClickHouse version to 22.8.15.23 #1550

merged 1 commit into from
Oct 15, 2024

Conversation

patsevanton
Copy link
Contributor

@patsevanton patsevanton commented Oct 15, 2024

Description

This pull request updates the ClickHouse version in the Helm chart to 22.8.15.23. The new version aligns with with the upgrade script located at install/upgrade-clickhouse.sh.

Changes

Updated the appVersion in the Chart.yaml file from 21.8.13.6 to 22.8.15.23.

Update plan:
sentry clickhouse
24.7.1 21.8.13.6
24.8.0 22.8.15.23
24.9.0 23.3.19.32

Related Issues

Related Pull Requests:

@Mokto Mokto merged commit 4271312 into sentry-kubernetes:develop Oct 15, 2024
2 checks passed
@Mokto Mokto mentioned this pull request Oct 15, 2024
@patsevanton
Copy link
Contributor Author

i tested sentry 24.8.0 and clickhouse chart version 3.12.0.
i will try increase clickhouse version

get error:

sentry-snuba-migrate-pkpmh snuba-migrate Traceback (most recent call last):
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/src/snuba/snuba/clickhouse/native.py", line 200, in execute
sentry-snuba-migrate-pkpmh snuba-migrate     result_data = query_execute()
sentry-snuba-migrate-pkpmh snuba-migrate                   ^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/src/snuba/snuba/clickhouse/native.py", line 183, in query_execute
sentry-snuba-migrate-pkpmh snuba-migrate     return conn.execute(  # type: ignore
sentry-snuba-migrate-pkpmh snuba-migrate            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/clickhouse_driver/client.py", line 373, in execute
sentry-snuba-migrate-pkpmh snuba-migrate     rv = self.process_ordinary_query(
sentry-snuba-migrate-pkpmh snuba-migrate          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/clickhouse_driver/client.py", line 571, in process_ordinary_query
sentry-snuba-migrate-pkpmh snuba-migrate     return self.receive_result(with_column_types=with_column_types,
sentry-snuba-migrate-pkpmh snuba-migrate            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/clickhouse_driver/client.py", line 204, in receive_result
sentry-snuba-migrate-pkpmh snuba-migrate     return result.get_result()
sentry-snuba-migrate-pkpmh snuba-migrate            ^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/clickhouse_driver/result.py", line 50, in get_result
sentry-snuba-migrate-pkpmh snuba-migrate     for packet in self.packet_generator:
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/clickhouse_driver/client.py", line 220, in packet_generator
sentry-snuba-migrate-pkpmh snuba-migrate     packet = self.receive_packet()
sentry-snuba-migrate-pkpmh snuba-migrate              ^^^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/clickhouse_driver/client.py", line 237, in receive_packet
sentry-snuba-migrate-pkpmh snuba-migrate     raise packet.exception
sentry-snuba-migrate-pkpmh snuba-migrate clickhouse_driver.errors.ServerException: Code: 36.
sentry-snuba-migrate-pkpmh snuba-migrate DB::Exception: Codec DoubleDelta does not accept any arguments. Stack trace:
sentry-snuba-migrate-pkpmh snuba-migrate 
sentry-snuba-migrate-pkpmh snuba-migrate 0. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0x8febd9a in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 1. ? @ 0xfe432b1 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 2. ? @ 0xfd919fb in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 3. ? @ 0xff0cf64 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 4. DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::__1::shared_ptr<DB::IAST> const&, DB::IDataType const*, bool, bool) const @ 0xfd8ecf6 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 5. DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::__1::shared_ptr<DB::Context const>, bool) @ 0x102007f4 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 6. DB::InterpreterCreateQuery::setProperties(DB::ASTCreateQuery&) const @ 0x102019d4 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 7. DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x10208164 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 8. DB::InterpreterCreateQuery::execute() @ 0x1020e79c in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 9. ? @ 0x1081bf04 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 10. DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum, bool) @ 0x1081a5a3 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 11. DB::TCPHandler::runImpl() @ 0x110c08be in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 12. DB::TCPHandler::run() @ 0x110d3859 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 13. Poco::Net::TCPServerConnection::start() @ 0x13c4ca2f in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 14. Poco::Net::TCPServerDispatcher::run() @ 0x13c4e4ba in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 15. Poco::PooledThread::run() @ 0x13d80739 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 16. Poco::ThreadImpl::runnableEntry(void*) @ 0x13d7c9ca in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 17. start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
sentry-snuba-migrate-pkpmh snuba-migrate 18. __clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
sentry-snuba-migrate-pkpmh snuba-migrate 
sentry-snuba-migrate-pkpmh snuba-migrate 
sentry-snuba-migrate-pkpmh snuba-migrate The above exception was the direct cause of the following exception:
sentry-snuba-migrate-pkpmh snuba-migrate 
sentry-snuba-migrate-pkpmh snuba-migrate Traceback (most recent call last):
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/bin/snuba", line 33, in <module>
sentry-snuba-migrate-pkpmh snuba-migrate     sys.exit(load_entry_point('snuba', 'console_scripts', 'snuba')())
sentry-snuba-migrate-pkpmh snuba-migrate              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
sentry-snuba-migrate-pkpmh snuba-migrate     return self.main(*args, **kwargs)
sentry-snuba-migrate-pkpmh snuba-migrate            ^^^^^^^^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1055, in main
sentry-snuba-migrate-pkpmh snuba-migrate     rv = self.invoke(ctx)
sentry-snuba-migrate-pkpmh snuba-migrate          ^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
sentry-snuba-migrate-pkpmh snuba-migrate     return _process_result(sub_ctx.command.invoke(sub_ctx))
sentry-snuba-migrate-pkpmh snuba-migrate                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
sentry-snuba-migrate-pkpmh snuba-migrate     return _process_result(sub_ctx.command.invoke(sub_ctx))
sentry-snuba-migrate-pkpmh snuba-migrate                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
sentry-snuba-migrate-pkpmh snuba-migrate     return ctx.invoke(self.callback, **ctx.params)
sentry-snuba-migrate-pkpmh snuba-migrate            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 760, in invoke
sentry-snuba-migrate-pkpmh snuba-migrate     return __callback(*args, **kwargs)
sentry-snuba-migrate-pkpmh snuba-migrate            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/src/snuba/snuba/cli/migrations.py", line 116, in migrate
sentry-snuba-migrate-pkpmh snuba-migrate     runner.run_all(
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/src/snuba/snuba/migrations/runner.py", line 219, in run_all
sentry-snuba-migrate-pkpmh snuba-migrate     self._run_migration_impl(
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/src/snuba/snuba/migrations/runner.py", line 297, in _run_migration_impl
sentry-snuba-migrate-pkpmh snuba-migrate     migration.forwards(context, dry_run, columns_states)
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/src/snuba/snuba/migrations/migration.py", line 170, in forwards
sentry-snuba-migrate-pkpmh snuba-migrate     op.execute()
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/src/snuba/snuba/migrations/operations.py", line 81, in execute
sentry-snuba-migrate-pkpmh snuba-migrate     connection.execute(self.format_sql(), settings=self._settings)
sentry-snuba-migrate-pkpmh snuba-migrate   File "/usr/src/snuba/snuba/clickhouse/native.py", line 283, in execute
sentry-snuba-migrate-pkpmh snuba-migrate     raise ClickhouseError(e.message, code=e.code) from e
sentry-snuba-migrate-pkpmh snuba-migrate snuba.clickhouse.errors.ClickhouseError: DB::Exception: Codec DoubleDelta does not accept any arguments. Stack trace:
sentry-snuba-migrate-pkpmh snuba-migrate 
sentry-snuba-migrate-pkpmh snuba-migrate 0. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0x8febd9a in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 1. ? @ 0xfe432b1 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 2. ? @ 0xfd919fb in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 3. ? @ 0xff0cf64 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 4. DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::__1::shared_ptr<DB::IAST> const&, DB::IDataType const*, bool, bool) const @ 0xfd8ecf6 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 5. DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::__1::shared_ptr<DB::Context const>, bool) @ 0x102007f4 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 6. DB::InterpreterCreateQuery::setProperties(DB::ASTCreateQuery&) const @ 0x102019d4 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 7. DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x10208164 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 8. DB::InterpreterCreateQuery::execute() @ 0x1020e79c in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 9. ? @ 0x1081bf04 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 10. DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum, bool) @ 0x1081a5a3 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 11. DB::TCPHandler::runImpl() @ 0x110c08be in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 12. DB::TCPHandler::run() @ 0x110d3859 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 13. Poco::Net::TCPServerConnection::start() @ 0x13c4ca2f in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 14. Poco::Net::TCPServerDispatcher::run() @ 0x13c4e4ba in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 15. Poco::PooledThread::run() @ 0x13d80739 in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 16. Poco::ThreadImpl::runnableEntry(void*) @ 0x13d7c9ca in /usr/bin/clickhouse
sentry-snuba-migrate-pkpmh snuba-migrate 17. start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
sentry-snuba-migrate-pkpmh snuba-migrate 18. __clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
sentry-snuba-migrate-pkpmh snuba-migrate 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants