X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/378e6e0cd313541c395893e832e82a85856d5105..090b515aa10dba597b20a96797f17688f582a529:/services/api/lib/crunch_dispatch.rb diff --git a/services/api/lib/crunch_dispatch.rb b/services/api/lib/crunch_dispatch.rb index 05f85c7bb6..131386d765 100644 --- a/services/api/lib/crunch_dispatch.rb +++ b/services/api/lib/crunch_dispatch.rb @@ -637,7 +637,7 @@ class CrunchDispatch jobrecord = Job.find_by_uuid(job_done.uuid) - if exit_status == EXIT_RETRY_UNLOCKED + if exit_status == EXIT_RETRY_UNLOCKED or (exit_tempfail and @job_retry_counts.include? jobrecord.uuid) # The job failed because all of the nodes allocated to it # failed. Only this crunch-dispatch process can retry the job: # it's already locked, and there's no way to put it back in the