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 sideband socket gracefully when closing the grpc server #1132

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

amehra-ni
Copy link
Contributor

@amehra-ni amehra-ni commented Nov 28, 2024

NOTE: This PR won't go in unless the sideband changes go in which adds a new parameter. After that, we will update to latest sideband repo.

What does this Pull Request accomplish?

We need to close the sideband socket when grpc-server shuts down gracefully. Hence, this PR adds support for it.

Why should this Pull Request be merged?

To the sideband codebase, we will pass a boolean variable by reference to the sideband function, which will act as a trigger for closing the socket. The sideband socket will be closed whenever this boolean is set to true.

What testing has been done?

When closing the grpc-server, the sideband socket also closes.
34
(Will we update the message shown later on in the sideband repo)

source/server/sideband_manager.cpp Outdated Show resolved Hide resolved
source/server/sideband_manager.cpp Show resolved Hide resolved
@amehra-ni amehra-ni requested a review from maxxboehme December 5, 2024 17:37
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.

2 participants