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

[11.x] Test for forgetting non-flexible keys for file driver #53018

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

timacdonald
Copy link
Member

@timacdonald timacdonald commented Oct 2, 2024

There has been a report that recent changes regarding flexible keys have caused exceptions to be thrown in scenarios involving fibers in foreach within a long running process. I've been unable to reproduce the issue.

This PR addresses the exception and also slightly improves the general flow for flexible keys by checking for the existence of the flexible key before attempting to delete it and only attempting to delete the flexible key when the main key, the non-flexible version, was successfully forgotten.

Copy link

github-actions bot commented Oct 2, 2024

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@timacdonald timacdonald marked this pull request as ready for review October 6, 2024 23:01
@taylorotwell taylorotwell merged commit ffee111 into laravel:11.x Oct 7, 2024
31 checks passed
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

Successfully merging this pull request may close these issues.

2 participants