-
Notifications
You must be signed in to change notification settings - Fork 11.3k
[9.x] Fix race condition in locks issued by the file cache driver #46011
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
[9.x] Fix race condition in locks issued by the file cache driver #46011
Conversation
Please explain how this changes anything? The FileStore already has an |
@taylorotwell the problem is when |
@taylorotwell 362fc83 is a cleaner way of handling it while maintaining BC |
Are other drivers not able to handle |
I also don't agree your second commit is necessarily better. The first was simpler? |
@taylorotwell |
For what it's worth: I've updated the docs to not even show an example of not providing an expiration time (in seconds) to the lock methods. |
TLDR; not relevant as
Simplest fix in the sense that it's a 1 line change, but given |
Fixes #43627
Before:
After: