8000 [Lock] Handle lock with long key by jderusse · Pull Request #42212 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Lock] Handle lock with long key #42212

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

Merged
merged 1 commit into from
Jul 23, 2021
Merged

[Lock] Handle lock with long key #42212

merged 1 commit into from
Jul 23, 2021

Conversation

jderusse
Copy link
Member
Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

When lock key is very long, the generated file exceeded the maximum length supported by the system, leading to an exception
fopen(/tmp/sf.username_xxxxxxxx[...].d3rUs2a.lock): Failed to open stream: File name too long

@carsonbot
Copy link

Hey!

I think @Simperfit has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@carsonbot carsonbot changed the title Handle lock with long key [Lock] Handle lock with long key Jul 22, 2021
@fabpot
Copy link
Member
fabpot commented Jul 23, 2021

Thank you @jderusse.

@fabpot fabpot merged commit a0d0c22 into symfony:4.4 Jul 23, 2021
This was referenced Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0