roc230 / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

MemcachedConnection constructor does not handle ConnectException from ch.connect(). #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
2.3.1 on Solaris

The ch.connect() call in the MemcachedConnection constructor can throw a
ConnectException, which is not handled. The behavior in such cases is
different from the regular non-blocking connect completion. 

This issue is easily reproducible on Solaris when connecting to localhost.

Fix is to handle the ConnectException in the constructor and queue a
reconnect for the node.

Original issue reported on code.google.com by kab...@gmail.com on 28 Jul 2009 at 10:51

GoogleCodeExporter commented 9 years ago
Thanks.  Fixed in master.

Original comment by dsalli...@gmail.com on 13 Aug 2009 at 7:23