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

EVALSHA gives runtime error if script with the respective SHA isn't present. #12

Open
thakursaurabh1998 opened this issue Aug 19, 2020 · 0 comments

Comments

@thakursaurabh1998
Copy link

The script is running well and fine. As soon as somebody runs SCRIPT FLUSH, all the scripts get removed from cache.

Next time when the application tries to run the script with .run, as expected it doesn't get found by EVALSHA which is running on the application and sending the SHA of the old cached script which is now removed.

Rather than just giving the below error, shouldn't it just load the script again and generate a new SHA?

NOSCRIPT No matching script. Please use EVAL.
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

No branches or pull requests

1 participant