Chang Hai Bin

03/31/2023, 4:02 AM
When we use the TerminateRun graphQL command (e.g. via a POST request), does Dagster stop a job (sync) or (async)? If (sync), then dagster will wait for the job to be properly stopped/killed before returning a status code (and could potentially be blocked if stopping the job is taking a long time) Or (async), then we need to wait e.g. 5 seconds later, and query dagster again to make sure the job is indeed stopped/killed