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

Prevent abort on shutdown if the fs is readonly #9100

Merged
merged 3 commits into from Feb 14, 2020
Merged

Conversation

alexey-milovidov
Copy link
Member

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Prevent abort on shutdown if the filesystem is readonly. This fixes #9094

@alexey-milovidov
Copy link
Member Author

I have difficulties with providing a test.
Let's assume it is good enough.

@nvartolomei
Copy link
Contributor

In #9094 the crash was happening on clickhouse start, not on shutdown.

@nvartolomei
Copy link
Contributor

The trace indeed shows that it is called from shutdown 🤔. I can try and reproduce it with this patch and without next week.

@alexey-milovidov
Copy link
Member Author

The trace indeed shows that it is called from shutdown thinking. I can try and reproduce it with this patch and without next week.

Yes, and shutdown is probably caused by another reason that you can find.

@alexey-milovidov alexey-milovidov merged commit db1c67e into master Feb 14, 2020
@abyss7 abyss7 added the pr-improvement Pull request with some product improvements label Feb 21, 2020
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.

ClickHouse can't start on read-only filesystem under certain conditions
4 participants