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

Rethrow exception on cache initialisation on server startup, better error message #39386

Merged
merged 6 commits into from
Jul 20, 2022

Conversation

kssenii
Copy link
Member

@kssenii kssenii commented Jul 19, 2022

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Rethrow exception on filesystem cache initialisation on server startup, better error message.

@robot-ch-test-poll robot-ch-test-poll added the pr-not-for-changelog This PR should not be mentioned in the changelog label Jul 19, 2022
@kssenii kssenii changed the title Rethrow exception on cache initialisation Rethrow exception on cache initialisation on server startup, better error message Jul 19, 2022
@robot-ch-test-poll2 robot-ch-test-poll2 added pr-improvement Pull request with some product improvements and removed pr-not-for-changelog This PR should not be mentioned in the changelog labels Jul 19, 2022
@nickitat nickitat self-assigned this Jul 20, 2022
@@ -45,7 +45,7 @@ void LRUFileCache::initialize()
catch (...)
{
tryLogCurrentException(__PRETTY_FUNCTION__);
return;
throw;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

who is supposed to handle it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be thrown while creating the disk, and it is created in constructor of DIskSelector, which does not catch errors when creating the disks. So I expect that server will fail to start if the exception is thrown here.

@kssenii
Copy link
Member Author

kssenii commented Jul 20, 2022

AST fuzzer (debug, actions) — Assertion `holder.key.size > 0' failed

#39220

Stateless tests (thread, actions) [1/3] — fail: 1,

01676_long_clickhouse_client_autocomplete

@kssenii kssenii merged commit 3759ee7 into master Jul 20, 2022
@kssenii kssenii deleted the kssenii-patch-4 branch July 20, 2022 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-improvement Pull request with some product improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants