Revision 6e32868127bf0c51e49efabf8b68ad544cae9a3c authored by Maria Khrustaleva on 01 December 2023, 12:05:17 UTC, committed by GitHub on 01 December 2023, 12:05:17 UTC
This PR resolves 2 issues related to rq jobs:

1. In some scenarios it is possible to reach a situation when `X2` rq
   job depends on `X1` -> running `X1` job is moved to FailedJobRegistry
   and not deleted -> user creates one more `X1` job that is enqueued after
   `X2` execution. It was possible due to the second issue when a user
   tried to export annotations for task 1, then for task 2, and after
   restarting the worker container user tried again to export annotations
   for task 1. (cyclic dependence)

2. Looks like in rq implementation rq jobs that depend on `X` job will
   never be enqueued when `X` is moved to FailedJobRegistry due to
   AbandonedJobError. I've submitted the
   [issue](https://github.com/rq/rq/issues/2006) to the rq repository.
1 parent 81e88e1
History
File Mode Size
cypress
mounted_file_share
python
.eslintrc.js -rw-r--r-- 839 bytes
allow_webhooks_receiver.sh -rw-r--r-- 347 bytes
cypress.config.js -rw-r--r-- 1.2 KB
cypress_canvas3d.config.js -rw-r--r-- 827 bytes
docker-compose.email.yml -rw-r--r-- 101 bytes
docker-compose.file_share.yml -rw-r--r-- 187 bytes
docker-compose.minio.yml -rw-r--r-- 2.1 KB
docker-compose.test_servers.yml -rw-r--r-- 620 bytes
nightly_cypress.config.js -rw-r--r-- 1.2 KB
package.json -rw-r--r-- 675 bytes
pr_cypress.config.js -rw-r--r-- 2.3 KB
pr_cypress_canvas3d.config.js -rw-r--r-- 1.2 KB
yarn.lock -rw-r--r-- 123.6 KB

back to top