eredis_cluster icon indicating copy to clipboard operation
eredis_cluster copied to clipboard

Crash in eval/4

Open bjosv opened this issue 5 years ago • 0 comments

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/eredis_cluster/pull/35

bjosv avatar Oct 14 '20 07:10 bjosv