-
Notifications
You must be signed in to change notification settings - Fork 43
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
Redis command failures & command timeouts after adding a new Master #115
Comments
Thanks for the report! It's appreciated. Your testing helps us improve this library. We'll try to reproduce this and solve this, hopefully soon. If you have a test case that can reproduce this issue, we're happy if you can share it. |
@SS-TruMinds Which version of Redis are you running towards? |
Hello, we are using Redis v7.0.4 |
Thank you. We have a 3 node Redis cluster running in a Kubernetes namespace, and an application performing CRUD operation on some keys running in another namespace. The issue starts after we add a 4th node while the test is still running. We have also observed multiple connect callbacks from this new node. There are no disconnect callbacks in between, just connect callbacks one after the other. Thank you. |
@SS-TruMinds Regarding the observed multiple connect callbacks, do you know if the |
We ran this again, and did notice disconnect callbacks too after connect callback. It seems the connection is not stable & we keep seeing connects followed by disconnects. |
Ran this again & we do see disconnects after connects. It seems the client keeps losing connection to the newly added Master, and keep trying to connect again & again. |
I have found an issue with missing callbacks when the ASKING command is not sent due to a disconnect. |
Solved by #120? |
Hello,
We have a 3-Node cluster on which we perform CRUD operations from our application using async hiredis-cluster API calls.
If we add a 4th Master node to this cluster while this test is still running, we start seeing
redisClusterAsyncCommand
failures for some of the new commands, and callbacks with NULL replies for some of commands already invoked for which we are waiting for replies.It could be that hiredis-cluster is not in sync with the redistributed hash slots after addition of the new Master.
Kindly let us know if this scenario is supported, and works fine for you.
Thank you for the support.
The text was updated successfully, but these errors were encountered: