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

Crash in eval/4 #49

Open
bjosv opened this issue Oct 14, 2020 · 0 comments
Open

Crash in eval/4 #49

bjosv opened this issue Oct 14, 2020 · 0 comments

Comments

@bjosv
Copy link

bjosv commented Oct 14, 2020

The eval/4 consists of two steps

  • first an EVALSHA that tries to run an already loaded script
  • if the Redis node dont have the script it will be loaded using SCRIPT LOAD

if the Redis node is stopped or crashes right before the SCRIPT LOAD the socket gets closed
and the query will return {error, no_connection} which is unmatched.

A testcase to trigger the issue, using a fake Redis cluster, can be found here:
Nordix/pull/35

bjosv referenced this issue in Nordix/eredis_cluster Oct 14, 2020
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 a pull request may close this issue.

1 participant