There is a race condition here between these 2 lines:
|
QueueDB.getJob(jobID)?.also { |
|
val s3Job = S3.getJob(jobID) |
The status may change between the queue db check on line 195 and the s3 check on line 199, which could cause this exact issue.
Originally posted by @Foxcapades in #48 (comment)
There is a race condition here between these 2 lines:
lib-compute-platform/lib/src/main/kotlin/org/veupathdb/lib/compute/platform/AsyncPlatform.kt
Line 195 in dbeb289
lib-compute-platform/lib/src/main/kotlin/org/veupathdb/lib/compute/platform/AsyncPlatform.kt
Line 199 in dbeb289
The status may change between the queue db check on line 195 and the s3 check on line 199, which could cause this exact issue.
Originally posted by @Foxcapades in #48 (comment)