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

Obtain a read only session if session lock fails #2386

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

exussum12
Copy link

@exussum12 exussum12 commented Sep 15, 2023

If a session lock fails to obtain, use a read only version of the session. This causes less backwards compatible issues and was introduced between the 5.3.7 and 6.0.0 releases.

New note added to suggest the session is read only

Fixes #2382

Introduced here
687a0b4#diff-d7896829bc47f45d33720c352a4b8aabd4dca447b6db9e2d4205be5b44ba5d9eR714

If a session lock fails to obtain, use a read only version of the session.
This causes less backwards compatible issues and was introduced between the 5.3.7 and 6.0.0 releases.

New note added to suggest the session is read only

Fixes phpredis#2382
@exussum12
Copy link
Author

Any update on this?

@yatsukhnenko
Copy link
Member

I'm not sure that this is a good idea to ignore error when lock is not acquired

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.

Redis 6.0 issues with session locking
3 participants