VEuPathDB / lib-compute-platform

Async compute platform core.
1 stars 0 forks source link

move all combination DB+S3 operations behind a lock #50

Closed Foxcapades closed 1 year ago

Foxcapades commented 1 year ago

Description

Moves all lookup and status change operations behind a singular lock to prevent the race condition where a status change could happen between looking up the DB record and looking up the S3 record. This does not prevent the race condition from happening cross campus, if something has gone wrong where both campuses are operating on the same job.

PR Checklist