Nordix / hiredis-cluster

C client library for Valkey/Redis Cluster. This project is used and sponsored by Ericsson. It is a fork of the now unmaintained hiredis-vip.
BSD 3-Clause "New" or "Revised" License
87 stars 42 forks source link

Testing fault tolerance #163

Open selcukaltinay opened 1 year ago

selcukaltinay commented 1 year ago

In order to test fault tolerant hiredis cluster api, I wrote a test code as I mentioned below. At the start of the test I’m starting the 6 redis instance. Then I’m making cluster them. After this process, Im trying to get a key from redis continuously with 10ms delay. Then I’m killing the master nodes and Im expecting that the requests must be answered from replicas(new master). But Im taking core dump. How can I solve this issue without using external retry pattern?

bjosv commented 1 year ago

Interesting, which version of hiredis-cluster are you using? Could you paste the stack trace from the corefile for us to debug the issue?