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

Make sure to not have the raft layer block on apply channel on exit. #2146

Merged
merged 1 commit into from
Apr 21, 2021

Conversation

derekcollison
Copy link
Member

In the case when raft layer can run for a bit as we exit the monitorStream that pulls from the apply channel make sure we drain that to prevent a lockup at the raft layer.

Signed-off-by: Derek Collison derek@nats.io

/cc @nats-io/core

Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

LGTM

@derekcollison derekcollison merged commit 3418847 into master Apr 21, 2021
@derekcollison derekcollison deleted the chblock branch April 21, 2021 22:58
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