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

[KYUUBI #6843] [FOLLOWUP] Fix 'query-timeout-thread' thread leak #6873

Closed
wants to merge 1 commit into from

Conversation

lsm1
Copy link
Contributor

@lsm1 lsm1 commented Dec 27, 2024

Why are the changes needed?

If the session manager's ThreadPoolExecutor refuses to execute the asyncOperation, then we need to shut down the query-timeout-thread in the catch block. This should also be done in JDBC and the CHAT engine.

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

@lsm1 lsm1 changed the title [FOLLOWUP][KYUUBI #6843] Fix 'query-timeout-thread' thread leak [KYUUBI #6843] [FOLLOWUP] Fix 'query-timeout-thread' thread leak Dec 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (a051253) to head (aed9088).
Report is 1 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #6873   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         688     688           
  Lines       42551   42551           
  Branches     5801    5801           
======================================
  Misses      42551   42551           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pan3793 pan3793 requested a review from cxzl25 December 27, 2024 12:00
@lsm1 lsm1 self-assigned this Jan 10, 2025
@lsm1 lsm1 closed this in 6221901 Jan 10, 2025
lsm1 added a commit that referenced this pull request Jan 10, 2025
### Why are the changes needed?

If the session manager's ThreadPoolExecutor refuses to execute the asyncOperation, then we need to shut down the query-timeout-thread in the catch block. This should also be done in JDBC and the CHAT engine.

### How was this patch tested?

### Was this patch authored or co-authored using generative AI tooling?

Closes #6873 from lsm1/branch-followup-6843.

Closes #6843

aed9088 [senmiaoliu] fix query timeout checker leak in chat engine and jdbc engine

Authored-by: senmiaoliu <[email protected]>
Signed-off-by: senmiaoliu <[email protected]>
(cherry picked from commit 6221901)
Signed-off-by: senmiaoliu <[email protected]>
lsm1 added a commit that referenced this pull request Jan 10, 2025
### Why are the changes needed?

If the session manager's ThreadPoolExecutor refuses to execute the asyncOperation, then we need to shut down the query-timeout-thread in the catch block. This should also be done in JDBC and the CHAT engine.

### How was this patch tested?

### Was this patch authored or co-authored using generative AI tooling?

Closes #6873 from lsm1/branch-followup-6843.

Closes #6843

aed9088 [senmiaoliu] fix query timeout checker leak in chat engine and jdbc engine

Authored-by: senmiaoliu <[email protected]>
Signed-off-by: senmiaoliu <[email protected]>
(cherry picked from commit 6221901)
Signed-off-by: senmiaoliu <[email protected]>
@lsm1
Copy link
Contributor Author

lsm1 commented Jan 10, 2025

Thanks, Merged to master, branch-1.10, branch-1.9

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

Successfully merging this pull request may close these issues.

3 participants