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

java: shutdown GRPC channel cleanly #4594

Merged
merged 2 commits into from
Feb 12, 2019

Conversation

zklapow
Copy link
Contributor

@zklapow zklapow commented Feb 6, 2019

The existing close was causing GRPC to complain about orphaned channels because we were closing without waiting for operations to terminate. This improves the close implementation to correctly wait for shutdown and call shutdownNow if the channel does not terminate within the expected window.

Signed-off-by: Ze'ev Klapow <zklapow@hubspot.com>
Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

Nice one

Signed-off-by: Ze'ev Klapow <zklapow@hubspot.com>
@sougou sougou merged commit cf405d7 into vitessio:master Feb 12, 2019
systay pushed a commit that referenced this pull request Jul 22, 2024
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.

4 participants