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

Testing fault tolerance #163

Open
selcukaltinay opened this issue Jun 12, 2023 · 1 comment
Open

Testing fault tolerance #163

selcukaltinay opened this issue Jun 12, 2023 · 1 comment

Comments

@selcukaltinay
Copy link

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
Copy link
Collaborator

bjosv commented Jun 12, 2023

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

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

2 participants