adrienmo / eredis_cluster

eredis_cluster is an erlang wrapper for eredis to support cluster mode of redis 3.0.0+
MIT License
79 stars 83 forks source link

Crash in eval/4 #49

Open bjosv opened 4 years ago

bjosv commented 4 years ago

The eval/4 consists of two steps

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