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 #1243
Comments
I'm going to try and see if I can fix the issue with modifying
Sorry wasn't aware of these options before creating the issue. |
@ashkank83 did you solve this issue? I also have put my processor in a child_process in order to avoid stalled jobs and missing locks but those errors continue to appear. @manast do you have any suggestion for this issue? |
@Gappa88 if you are able to provide a reproducible test case we can take a look into it, otherwise it is pretty difficult for us to understand what is going on... |
I've actually seen this consistently every 6 weeks in our application, and I've been unable to identify what's happening. I'd like to spend some time and produce some code to reproduce. Haven't had a moment yet. Using Bull: ~3.5.2 and Redis: 3.2.7 Might this be fixed in the latest version of Bull? |
Description
Would you kindly let me know what can be causing the following error?
I have around 1500 jobs registered in a queue and everytime I restart the server to retest my scenario, one or two jobs randomly get this error message. (FlushAll Redis before application restart so it's all cleared)
The job doesn't fail because of this error, however Bull tries to rerun the job and I get duplicate index issues which causes the job to fail.
Is it possible to guide me towards what can be causing this issue please? and also is there a way to avoid it/fix it?
I also have to add my processors are in a sandbox.
Bull version
3.7.0
Rdis: 4.0.2.3
Additional information
I searched through all the similar issues and read all of them, nobody seems to be having a stack trace like my issue.
Doing further investigation the error is coming from line 40 of moveToFinished-6 lua script file (Below), but how is it possible that the job has started and the lock is not available?
The text was updated successfully, but these errors were encountered: