On Jan 11, 2008 8:57 AM, Kieran Benton <[EMAIL PROTECTED]> wrote: > > This has niggled with me for a while as well :) maybe its best that if we > just detect a "connection reset" socket error code we swallow the error with > stack and just log a one line warning? > Oddly the stack always appears to be consumed anyway, but I don't really know how looking at the code!. But in this particular case its perhaps more of a warn level or info level message rather than an error. (I guess this is something that could be argued one way or t'other!). But once a server's down *every* 'get' throws the object reference not found [it seems in my current test configuration of a single memcached server], given that throwing exceptions is *relatively* expensive especially on an operation that you could ideally have returning immediately it would be great to avoid even bothering to attempt in this case.
Please bear in mind I'm new to a)memcached and b)Enyim.memcahed client, so I could just have set things up incorrectly :) - Ciaran
