Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Provide an API for service-spawned tasks to participate in shutdown process #7715

Open
rphmeier opened this issue Dec 10, 2020 · 0 comments
Open
Labels
J0-enhancement An additional feature request.
Milestone

Comments

@rphmeier
Copy link
Contributor

re: paritytech/polkadot-sdk#985

It would be nice to give a task the opportunity to observe a request for shutdown and forward that to various sub-tasks to give them an opportunity to wrap up their current work and shut down gracefully.

In fact, in Polkadot it's likely that validator node shutdowns before we have this feature will lead to small delays in finality, because the node will have announced it is going to do some work and then never does it, leading to other nodes getting suspicious and waiting for backup.

@rphmeier rphmeier added the J0-enhancement An additional feature request. label Dec 10, 2020
@rphmeier rphmeier added this to the Ideas milestone Feb 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J0-enhancement An additional feature request.
Projects
None yet
Development

No branches or pull requests

1 participant