curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <>
Subject Re: Leader Latch recovery after suspended state
Date Mon, 10 Mar 2014 16:08:59 GMT
Otherwise, at least for LeaderLatch, we lose the advantage to have the distinguish between
ConnectionLossException and SessionExpiredExpection.
Session expired is only generated when the client successfully reconnects to the cluster.
It’s not really a very useful bit of information. Theoretically, you could assume you are
still leader during SUSPENDED if the session timeout hasn’t elapsed. But, this is really
trying to be too clever IMO. 


View raw message