Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Done
-
None
Description
StorageManager needs a graceful shutdown mechanism so as not to leave any files half-written & such. It should stop listening for connections immediately, close idle connections, let existing requests finish (then close), and let Synchronizer finish its queue.
It would have to be triggered by SIGHUP and SIGINT at the very least. Possibly should be triggered by all signals we're not handling another way.