-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
The job gets JID and goes to dead right away #522
Comments
Same problem for me ! |
I have the same issue! Any ideas? |
Seems like a problem with generating the lock. In v7, you can configure I don't see anything apparently wrong but I suspect you have a problem with the unique arguments and what actually ends up with the worker somehow. |
I'm having the same problem. Any solution? |
@adrianotadao @0xCCD @migalenkom do any of you create one background job from another? In the original issue description it looks like that is what is going on. To be completely honest, I haven't done a whole lot of experimenting with this. I just assumed it will work as normal. The issue description doesn't make clear if this is the case; hence the question. Ah, now I see that we are doing worker inheritance. I'll experiment with this. The question remains, do you use either inheritance or scheduling one job from another? |
It would be brilliant if someone that is having this problem could follow the instructions in #571 and create a failing example for me using |
Describe the bug
We have one instance with sidekiq and after some time it starts to work incorrectly. We go to console and call
HeartbeatWorker.perform_async(false, nil)
, it shows JID and goes to dead right away.In logs, I can see
Expected behavior
The worker processed after it get JID and it goes to dead only when we have a job in progress with the same args.
Current behavior
The worker is not processed it goes to dead
Worker class
Additional context
Currently, gem version is 6.0.22, also we tried to 7.0.0.beta22 and received the same issue.
The text was updated successfully, but these errors were encountered: