Skip to content

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
@timacdonald timacdonald deleted the forget-fix branch March 26, 2025 00:20
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