Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing lock for job error #1202

Closed
C0rellana opened this issue Apr 19, 2022 · 2 comments
Closed

Missing lock for job error #1202

C0rellana opened this issue Apr 19, 2022 · 2 comments

Comments

@C0rellana
Copy link

Hi, I have a problem,
I had recently created a flow with bullmq, but as of today I get the following error. For any job (the job takes 10 seconds).

Error: Missing lock for job 5ef6f494-2ed5-4121-9de0-244c8953dbe5. failed
|     at Function.finishedErrors (/var/www/node_modules/bullmq/src/classes/scripts.ts:353:16)
|     at Job.moveToFailed (/var/www/node_modules/bullmq/src/classes/job.ts:518:21)
|     at processTicksAndRejections (node:internal/process/task_queues:96:5)
|     at handleFailed (/var/www/node_modules/bullmq/src/classes/worker.ts:586:9)
|     at Worker.retryIfFailed (/var/www/node_modules/bullmq/src/classes/worker.ts:730:16)

some recent change that can cause this problem?

I want to make it clear that no modifications have been made and this worked a week ago. Please help.

Thanks you!

@manast
Copy link
Contributor

manast commented Apr 20, 2022

If the problem is consistent for all 10+ jobs, can you provide a test case that reproduces it?

@C0rellana
Copy link
Author

I have fixed the problem by clearing the redis data (FLUSHALL, FLUSHDB), maybe it was a cache or version conflict? Thank you very much anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants