https://dagster.io/ logo
#ask-community
Title
# ask-community
n

Navneet Sajwan

06/10/2022, 3:59 AM
Hi everyone, If a pipeline is in running state, does repository server shut down if we manually try to shutdown the repository via the graphql api? If yes, what happens to the pipeline? does it terminate?
r

rex

06/10/2022, 4:03 AM
The job runs autonomously once its been launched - it doesn’t need to communicate back to the repository server.
n

Navneet Sajwan

06/10/2022, 4:08 AM
Not sure if I understand it correctly, but this is what I understood: Since, I am not using k8s-run-launcher, repository server and pipeline execution must be in the same pod. If shutdown mutation shuts down the pod, how can pipeline continue to execute?
r

rex

06/10/2022, 4:16 AM
Ah yeah, in that case, if you’re using the
DefaultRunLauncher
, your run is executed as a subprocess in your gRPC repository server. If that server gets shutdown, there will be undefined behavior for your existing runs
We have a Run Monitoring abstraction that takes care of this, https://docs.dagster.io/deployment/run-monitoring#run-monitoring, but it’s not implemented for the
DefaultRunLauncher
yet.
n

Navneet Sajwan

06/22/2022, 9:36 AM
Thanks for to the help. Will look into docs.
2 Views