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

Removed Duplicated Prefix on DynamoDbStore.php #52957

Closed
wants to merge 1 commit into from

Conversation

felipehertzer
Copy link

@felipehertzer felipehertzer commented Sep 27, 2024

Close #52954

This PR remove the duplicated prefix when use DynamoDB as cache drive and try to lock

DynamoDB Key now:
laravel_cache_laravel_cache_my-lock

DynamoDB Key after:
laravel_cache_my-lock

@Jubeki
Copy link
Contributor

Jubeki commented Sep 27, 2024

While this is indeed a bug fix, I am not sure if this should be fixed on a minor / patch release, because some applications may unintentionally depend on this and if they are now updated to a new versions and all cache locks are invalidated, that may have a catastrophic outcome in my opinion.

Maybe this should be fixed in Laravel 12?

@taylorotwell
Copy link
Member

Yeah, let's fix this on master branch. 👍

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.

[Cache] Duplicate Prefix on DynamoDB when acquire lock
3 participants