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

Add support for marking nodes as unavailable. #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamvaughan
Copy link

While using memcachir we've noticed occasions where a node in our Elasticache cluster will become unavailable, but still be returned in the health check, causing errors when trying to send requests to it. This change would allow us to handle those errors and mark the node as temporarily unavailable.

With these changes, unavailable nodes are temporarily removed from the cluster and excluded from health check results until a timeout expires. After a configurable delay they are added back where they can be retried. If a node continues to fail, the delay before adding it back in will be increased.

Marking a node as unavailable will temporarily remove it from the
cluster and add it back after a delay. If the node continues to fail the
delay before adding it back will increase.
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.

1 participant