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

Remove test connections #21

Closed
rubennorte opened this issue Aug 26, 2016 · 0 comments
Closed

Remove test connections #21

rubennorte opened this issue Aug 26, 2016 · 0 comments
Assignees
Labels
bug
Milestone

Comments

@rubennorte
Copy link

@rubennorte rubennorte commented Aug 26, 2016

The memcached driver that this library requires uses consistent hashing to distribute the keys among the available servers. That means that if any server is down, all the keys that were stored in it are redistributed to the servers that are still up. The problem is that if this happens when an application is starting the adapter connection fails because it cannot connect to the server that is down (the adapter does a connection test before returning the control to the application).

The test connection should be removed (or rethinked) so applications can benefit from the error management the driver provides.

I will submit a PR for this soon. Meanwhile I will be using a fork in my project to test that it works OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.