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

Close batch session after batch operation completion for idle timeout #5391

Closed

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Oct 10, 2023

Why are the changes needed?

To add a limitation for batch session lifecycle. otherwise, the batch session might always alive.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

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

No.

@turboFei turboFei self-assigned this Oct 10, 2023
@turboFei turboFei added this to the v1.8.0 milestone Oct 10, 2023
@turboFei turboFei changed the title Close batch session after batch operation complete for idle timeout Close batch session after batch operation completion for idle timeout Oct 10, 2023
@turboFei turboFei force-pushed the close_session_with_maxtimeout branch from 34bf11b to 5639c7d Compare October 10, 2023 03:28
@codecov-commenter
Copy link

Codecov Report

Merging #5391 (5639c7d) into master (7eac400) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master   #5391   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         588     588           
  Lines       33406   33427   +21     
  Branches     4388    4393    +5     
======================================
- Misses      33406   33427   +21     
Files Coverage Δ
...org/apache/kyuubi/session/KyuubiBatchSession.scala 0.00% <0.00%> (ø)

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pan3793 pan3793 closed this in e1d213e Oct 10, 2023
pan3793 pushed a commit that referenced this pull request Oct 10, 2023
…or idle timeout

### _Why are the changes needed?_

To add a limitation for batch session lifecycle. otherwise, the batch session might always alive.
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request

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

No.

Closes #5391 from turboFei/close_session_with_maxtimeout.

Closes #5391

5639c7d [fwang12] session no op

Authored-by: fwang12 <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
(cherry picked from commit e1d213e)
Signed-off-by: Cheng Pan <[email protected]>
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.

5 participants