-
Notifications
You must be signed in to change notification settings - Fork 279
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
java.util.concurrent.TimeoutException #30
Comments
Hi, i am sorry so late to look into this issue. But i can't reproduce by above code
In 2.1.0, i tweaked the performance of binary protocol implementation.The binary protocol in old xmemcached versions are not good enough, it's performance is less than text protocol command factory.But in 2.1.0, it catches up. You may wan to try it when you are free.And if you have more info for this issue ,please let me known, thanks. |
Please ignore my last comment, i reproduced the issue at last, and i still look into why it happens. If i find the bug, i will fixed ASAP. Thanks for your reporting. |
I fixed this issue , and i will release a new version ASAP. Thanks a lot for your report. |
Thank you for fixing it. Based on you assessment does the fix address only specific "object too large for cache" use case or is it broader and may also address other TimeoutException scenarios? |
Hi - Do you have an estimated date for this release please? It is one that has been plaguing us for over a year now and we have a really critical release in November for which we desperately need this fix. Is there any way we can persuade you to release this immediately? |
I released 2.2.0 . |
I can release a minor version today. 2016-10-27 2:14 GMT+08:00 sudhakv notifications@github.com:
庄晓丹 |
Much appreciated - we picked it up. Thank you very much! |
Hi site-2-pps06 site-2-pps06 2019-03-18 08:42:12,943 [pool-3-thread-1] WARN c.b.memcache.impl.MemcacheClient - Memcached failure |
Since there is no response, probably because it's a closed one. Creating a new issue to track |
We are seeing bursts of this exception in production for various memcache operations. Stack traces look similar to this:
We could not 100% pin point what is causing it but one of the suspects is how XMemcached handles server responses.
One situation that can be reproduced in a standalone java project is how XMemcached client handles server responses for values greater than 1M (> default max size in memcache).
In the code below our expectation is to get MemcachedServerException with message "object too large for cache" for "set" operation but instead we are getting java.util.concurrent.TimeoutException
It is worth noting that spymemcached client used in the same code does handle server response properly and returns "SERVER_ERROR object too large for cache"
The text was updated successfully, but these errors were encountered: