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

[Improvement] Shutdown the grpc executors pool when closing #83

Merged
merged 1 commit into from Jul 26, 2022

Conversation

zuston
Copy link
Member

@zuston zuston commented Jul 26, 2022

What changes were proposed in this pull request?

[Improvement] Shutdown the grpc executors pool when closing

Why are the changes needed?

Although the executor pool is used in grpc, but the grpc server won't take ownership of the given executor. It's caller's responsibility to shut down the executor when it's desired.

Does this PR introduce any user-facing change?

No

How was this patch tested?

No need.

@codecov-commenter
Copy link

codecov-commenter commented Jul 26, 2022

Codecov Report

Merging #83 (8233917) into master (aa18be0) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #83      +/-   ##
============================================
- Coverage     56.39%   56.37%   -0.02%     
  Complexity     1173     1173              
============================================
  Files           149      149              
  Lines          7953     7955       +2     
  Branches        761      762       +1     
============================================
  Hits           4485     4485              
- Misses         3226     3228       +2     
  Partials        242      242              
Impacted Files Coverage Δ
...java/org/apache/uniffle/common/rpc/GrpcServer.java 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.

Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jerqi jerqi merged commit 3522e07 into apache:master Jul 26, 2022
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

3 participants