-
Notifications
You must be signed in to change notification settings - Fork 277
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
Server never marked as down and never removed #16
Comments
I'm also doing some manual testing, running two memcached and taking the first one listed offline. I've tried various settings for timeout, retries, retry, and remove... but memcache keeps choosing the dead instance. It doesn't remove it from the pool. For fallback I'm trying:
(with other options and setting up event listeners, etc) With 0.1.5, I don't get any issues logged. With 0.0.11 I do get
My expectation was for there to be a failure, the server to be removed, and eventually the library would try to add the server back in after |
I put this issue under the 1.0 milestone that I have scheduled to release on the 30th |
Is there a new timeline for this? |
@mridgway not really, I under estimated the work that was needed for a stable 1.0 I'm working on & off on it atm. Sorry that I cannot provide you with more specific details. |
Hello, how is it going this issue? |
@3rd-Eden do you have a general idea of what the issue may be? I may look into this. |
This should be working now in master, fixed in #132 and a few other recent commits. |
Hawt! |
When a server is unavailable the library doesn't mark it as down.
I initialize the client with this code:
Where
127.0.0.1:11212
is intentionally down.And when I set a new object with:
I get the following exception:
Which I shouldn't get because the other server is up and running.
I added some listeners like:
And I only get this message before the exception:
Server undefined has an issue due to: Error: ECONNREFUSED, Connection refused
Thus the library is not attempting to reconnect, and it's not removing the server. And in the message above it can't get the server address (it's "undefined").
The text was updated successfully, but these errors were encountered: