VEuPathDB / web-monorepo

A monorepo that contains all frontend code for VEuPathDB websites
Apache License 2.0
2 stars 0 forks source link

EDA: Add retry logic when re-reunning an expired job #1211

Closed dmfalke closed 1 month ago

dmfalke commented 2 months ago

This is related to compute jobs in eda. When a compute job is expired, and a request is made to rerun the job. A minio race condition causes a non ok response to be returned.

The idea is to have the client catch that response and try again, hoping the backend issue is resolved.

There is a utility function called fetchWithRetry somewhere in our code base 🙂.

aurreco-uga commented 1 month ago

compute platform bandaid to have 500 to stop on expired workspaces

https://github.com/VEuPathDB/lib-compute-platform/commit/252dd6de740ab3948b64f51f2c00a485e71bd090