-
-
Notifications
You must be signed in to change notification settings - Fork 436
Closed
Labels
prio-highResolve issues as soon as possible.Resolve issues as soon as possible.
Milestone
Description
Problem
Lodestar BN does not wait for all jobs to be finished during graceful shutdown.
This is problematic as some operations are not executed such as writing BLSToExecutionChanges to disk (see discord discussion)
Root cause
Lodestar uses threads package which installs SIGTERM signal listeners that exit the main process once all workers are terminated, see terminateWorkersAndMaster.
Related
- Gracefully shutdown process on SIGTERM andywer/threads.js#198
- Should really not install signal handlers that call process.exit with no way to opt out andywer/threads.js#388
- Do not kill the master process andywer/threads.js#324
- Threads Signal Handling Hack MatrixAI/Polykey-Desktop#79
- Signal handling improvements andywer/threads.js#329
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
prio-highResolve issues as soon as possible.Resolve issues as soon as possible.