Skip to content

forcing reload on scripting error, using correct sha in some tests #273

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 3 commits into from
Dec 13, 2022

Conversation

slorello89
Copy link
Member

Fixes #272 - issue is when redis is rolled over, the client's not properly handling the reload and trying to send EVALSHA's when it really needs to either run an EVAL or script reload. Because At this point in the error flow we are already one or two round trips to redis in, we'll use an EVAL for the initial condition, and empty out our collection of SHA's so that we force the client to reload all scripts it was previously running

Copy link
Contributor

@shacharPash shacharPash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v0.40 getting NOSCRIPT No matching script. Please use EVAL.
2 participants