[sheepdog] [PATCH] zookeeper: exit program on unrecoverable error

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Jun 11 05:35:38 CEST 2013


At Fri, 7 Jun 2013 15:40:06 +0800,
Kai Zhang wrote:
> 
> Hi
> 
> In my thought, the set of zk_* APIs are just wrappers for retrying zookeeper operations when retryable errors occur.
> They just focus on:
> - which error is retryable
> - how to retry
> 
> And they should not do some other things like 'panic'.
> 
> This logic should be left to upper level by returning a zookeeper return code.

Okay, I'll send v2.

Thanks,

Kazutaka



More information about the sheepdog mailing list