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

Notify of quiescing when there are no open streams on graceful shutdown #1819

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

gjcairo
Copy link
Collaborator

@gjcairo gjcairo commented Feb 22, 2024

Motivation

The connection manager is notified of quiescing when a graceful shutdown is initiated and there are open streams.
However, when there are no open streams, the connection is simply closed without any quiescing - and the connection's delegate isn't notified of the quiescing.

Modifications

The quiescing event will now be sent regardless of whether there are open streams.

Result

The connection manager will now notify delegates when quiescing begins, even if it results in the connection being closed because there are no active streams.

@gjcairo gjcairo requested a review from FranzBusch February 22, 2024 12:36
@gjcairo gjcairo merged commit 61b7262 into grpc:main Feb 23, 2024
14 checks passed
@gjcairo gjcairo deleted the graceful-shutdown-quiescing branch February 23, 2024 10:45
@gjcairo gjcairo added the 🔨 semver/patch No public API change. label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants