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

[redis-cluster] do not mark fail node on Nil error #2670

Conversation

eskomorokhov
Copy link

@eskomorokhov eskomorokhov commented Aug 10, 2023

Cluster client pipeline in ReadOnly mode, consider Nil error as logic command response, dont mark node as failed in cluster.
Marking node as failed on Nil(not existing key) lead to switch to master node and if master node not available mark cluster down.
For redis server cluster it is not big a deal as default behavior to promote slave node to master, while other databases with redis protocol such as kvrocks don't support default promotion and clients will experience downtime.

Closes #2653

@eskomorokhov
Copy link
Author

Fixed in other branch.

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

Successfully merging this pull request may close these issues.

Readonly mode sets node failing on get not existing key
1 participant