Skip to content

Add support for marking nodes as unavailable.#14

Open
adamvaughan wants to merge 1 commit intoFrameio:masterfrom
adamvaughan:mark-node
Open

Add support for marking nodes as unavailable.#14
adamvaughan wants to merge 1 commit intoFrameio:masterfrom
adamvaughan:mark-node

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