[sheepdog] [PATCH v4 2/5] sheep: rejoin cluster after a zookeeper session timeout

Kai Zhang kyle at zelin.io
Tue Jun 18 10:02:37 CEST 2013


On Jun 18, 2013, at 3:47 PM, Liu Yuan <namei.unix at gmail.com> wrote:

> On 06/18/2013 03:26 PM, Liu Yuan wrote:
>>> +		while (sd_reconnect_handler()) {
> 
> If zookeeper is the only user of this function, I'll frown upon
> introducing it as a generic function to the cluster driver. At this
> stage, it is better to stick this function to zk driver only.

Actually, I'm not quite sure if this function will be called by other drivers.
If it is only used by zookeeper driver, I will move it to zookeeper.c.

Thanks,
Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130618/bfb5a5f0/attachment-0004.html>


More information about the sheepdog mailing list