-Re: Which ZooKeeper errors can I recover from by retrying?
Patrick Hunt 2012-06-15, 18:12
Sounds right to me.
On Thu, Jun 14, 2012 at 10:02 AM, David Nickerson
<[EMAIL PROTECTED]> wrote:
> Let's say I'm trying to create a non-sequential znode. The create method
> throws a KeeperException, which means it could be any of these:
> I'm trying to figure out which ones I can recover from by trying again
> until it works. It looks like I should try again if I get any
> of ConnectionLossException, OperationTimeoutException,
> or SessionMovedException. Am I correct in this? Are there any other
> exceptions that mean I should try again?