Skip to content

[Lock] Fallback to eval when LOAD fails due to missing script #61161

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

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

Conversation

santysisi
Copy link
Contributor

@santysisi santysisi commented Jul 19, 2025

Q A
Branch? 7.2
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #59795
License MIT
  • First attempts to execute the script using evalSha.
  • If the script is missing (NOSCRIPT), tries to load it using script LOAD.
  • If script LOAD is not supported, falls back to eval.

@santysisi
Copy link
Contributor Author

santysisi commented Jul 19, 2025

Hi 👋, I think the erros in the tests isn't relevant in the context of this PR.

@nicolas-grekas
Copy link
Member

In the ext-redis code patch we have a dedicated branch for clusters, isn't that what we need, instead of doing this live feature-check?

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.

3 participants