-
Notifications
You must be signed in to change notification settings - Fork 178
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
pymemcache fails if resolving the memcached server fails #318
Comments
Changing this default behavior now is a backwards incompatible change, so we need to be careful about this one. Can you elaborate on why you don't think |
But having the server down or unreachable doesn't feel like an "exception". I feel like this specific case should be treated as a simple miss. I agree that it's not obvious and I'm not sure if everyone will agree with me |
There are many use cases where someone would like to monitor if their application isn't able to communicate to memcache instead of silently ignoring it, and treating it like a miss by default can easily mask critical issues.
|
#307 has some related discussion. |
@yakirsudry do you have any suggestions on what we can do in while ensuring backwards compatibility |
Sometime my memcached server is down.
When that happens, resolving its address fails on the following line:
This crashes pymemcache.
What should actually happen is to assume it is down, and just marking that as "missed"
I understand that I can use ignore_exc, but this seems like a much more local thing.
The text was updated successfully, but these errors were encountered: