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

Jobs can unlock mutexes they don't own #94

Closed
pik opened this issue Jul 26, 2015 · 3 comments
Closed

Jobs can unlock mutexes they don't own #94

pik opened this issue Jul 26, 2015 · 3 comments

Comments

@pik
Copy link
Contributor

pik commented Jul 26, 2015

This happens with perform_at or when a job runs longer than the key_expire time, this is also explicitly advised against in the redis docs.

@mhenrixon
Copy link
Owner

Am I understanding it correctly that the new job gets unlocked by a newer job is there something I am missing?

@pik
Copy link
Contributor Author

pik commented Jul 29, 2015

So at the moment jobs do not check if they were the ones which originally set a mutex when unlocking -- meaning there are conditions where the job will delete a mutex that another job has set (if it's own has already expired).

@mhenrixon
Copy link
Owner

Closed by #96

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