Qumber Ali

11/23/2021, 9:47 AM
Hi all, I want to know that what should be happened with the running jobs if I restart the daemon? Currently when I restart the dagster some time jobs autometically restart some time got cancelled then I need to restart them manually, so can anyone please tell me what should be the expected behaviour?
:dagster-bot-resolve: 1


11/23/2021, 3:28 PM
The answer here depends on what Run Launcher ( you have configured. The default run launcher launches each job as a subprocess within the daemon process, which does die when the daemon dies unfortunately. All the other run launchers will keep the run going even if the daemon dies though (for example, the DockerRunLauncher or KubernetesRunLauncher - so deploying Dagster within Docker or Kubernetes or some other more advanced environment is an option if this is important, there are guides in the docs for how to do that)