zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: Can ConnectionLossException be thrown when using multiple hosts?
Date Wed, 07 Jan 2009 18:15:55 GMT
There are basically 2 cases where you can see connectionloss:

1) you call an operation on a session that is no longer alive

2) you are disconnected from a server when there are pending async 
operations to that server (you made an async request which has not yet 


Kevin Burton wrote:
> Can this be thrown when using multiple servers as long as > 1 of them is
> online?
> Trying to figure out of I should try some type of reconnect if a single
> machine fails instead of failing altogether.
> Kevin

View raw message