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

Block Graceful Shutdown: stop input bindings and subscriptions #7474

Merged

Conversation

JoshVanL
Copy link
Contributor

@JoshVanL JoshVanL commented Feb 1, 2024

Whilst Dapr should keep available outgoing API requests whilst blocking graceful shutdown, we want to prevent incoming input bindings and subscriptions from receiving new messages.

PR updates the block graceful shutdown to forever stop input bindings and subscriptions from being read.

Whilst Dapr should keep available outgoing API requests whilst blocking
graceful shutdown, we want to prevent incoming input bindings and
subscriptions from receiving new messages.

PR updates the block graceful shutdown to forever stop input bindings
and subscriptions from being read.

Signed-off-by: joshvanl <me@joshvanl.dev>
@JoshVanL JoshVanL marked this pull request as ready for review February 1, 2024 15:28
@JoshVanL JoshVanL requested review from a team as code owners February 1, 2024 15:28
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (c917506) 62.31% compared to head (bd510a9) 62.26%.

Files Patch % Lines
pkg/runtime/processor/binding/send.go 0.00% 3 Missing and 1 partial ⚠️
pkg/runtime/processor/pubsub/subscribe.go 20.00% 2 Missing and 2 partials ⚠️
pkg/runtime/runtime.go 80.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7474      +/-   ##
==========================================
- Coverage   62.31%   62.26%   -0.05%     
==========================================
  Files         244      244              
  Lines       22271    22285      +14     
==========================================
- Hits        13878    13876       -2     
- Misses       7248     7260      +12     
- Partials     1145     1149       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yaron2 yaron2 merged commit 9c69f83 into dapr:master Feb 1, 2024
20 of 22 checks passed
@JoshVanL JoshVanL added this to the v1.13 milestone Feb 12, 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.

None yet

3 participants