Hacker News new | ask | show | jobs
by 1996 2368 days ago
Interesting. Why do you care about graceful shutdown?

Why not kill ASAP and restart?

Do you have problems with load booming up sometimes?

1 comments

In some cases we need to do an update-deploy-restart while a DAG is still running (not even the one being updated). Then several minutes or hours later the child processes raise a segfault and the jobs they were working on fail, requiring restarting any of those jobs. I imagine a graceful shutdown would allow the job to finish up and the DAG to continue with the remaining jobs.