-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Currently, when a Node is ordered to shut down, it simply kills its own process. No file handles or TCP/database/WebSockets connections are closed, nothing is gently deallocated, nothing is cleaned up in the database, and no Gossip is sent.
Node shutdown should be much more graceful than this. Pending operations should be completed, handles and connections should be closed, neighbors should be notified, and so on.
Create a set of cards detailing all the various operations that need to be performed in the process of a Graceful Shutdown. Note that #404 and #407 already exist.
Also to be included is #410
One of the things to be considered is the logger: what if the Node wants to shut down just as the logger is rotating the logfiles in a background thread? The logger library provides hooks for this, but the hooks will need to be used.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Status