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

Release query resource while exception happened in query producer thread #903

Merged
merged 3 commits into from Mar 12, 2020

Conversation

JackieTien97
Copy link
Contributor

Now, when some exceptions happened in query thread pool, it won't transfer it back to the query master thread. This will cause the query master thread to be in the parking state and all the resources it holds(e.g. some locks) won't be released.
This will consume the server resource and make it slower and slower, that's a fail-slow failure. And even worse, it may hold the lock that other task needs(e.g. readLock of writeQueryLock in TsFileResource, it may be needed by merge task).

@sonarcloud
Copy link

sonarcloud bot commented Mar 12, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell B 6 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@qiaojialin qiaojialin merged commit 74f1eb9 into master Mar 12, 2020
@qiaojialin qiaojialin deleted the TyBugFix branch March 12, 2020 08:34
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.

None yet

2 participants