Skip to content

Conversation

@ricardosantosalves
Copy link

The get and set implementations have a last retry step before marking a server as dead. The current implementation of retry is re-using the existing socket and only then marking the server dead. In case of stale sockets, for example, if the memcached server is restarted, although it's already up and running, it will still be marked as dead.

The change in this PR makes sure that a new connection is established upon retry, to avoid reusing a stale socket, before marking it as dead.

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