Closed devashishg closed 2 months ago
Hi @devashishg, which version are you using?
@roggervalf 4.10.4
@devashishg do you have a minimal example that reproduces the issue?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
There is one case we observed in our application, a job on parallel threads was removed and processed, and then on completion of the job, it was not deleted despite
removeOnComplete
being true.15:35:31.076
Job has been removed,15:35:31.098
Job process executed15:35:31.126
Job was completed. (job data received in callback was an empty object)In the end, redis had these two keys
{processedOn: 15:35:31.078, finishedOn: 15:35:31.099, returnvalue: {}}
Now onwards all the jobs we try to add with the same jobId, it does not work.
Someone, please explain what went wrong here! doesn't the lock prevent these parallel executions?