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

Added null guards for all CurrentThread::attachToIfDetached() #3623

Merged
merged 1 commit into from
Nov 20, 2018

Conversation

vavrusa
Copy link
Contributor

@vavrusa vavrusa commented Nov 20, 2018

I'm not exactly sure when this can happen though.

refs #3622

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

@alexey-milovidov alexey-milovidov merged commit 7939a61 into ClickHouse:master Nov 20, 2018
@dqminh
Copy link
Contributor

dqminh commented Nov 21, 2018

The guard helps the exception in #3622, but i think we should also fix the actual cause that causes thread_group to be null ? Or was it already known ?

@alexey-milovidov
Copy link
Member

but i think we should also fix the actual cause that causes thread_group to be null?

Yes. This PR doesn't fix the root cause.

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.

3 participants