[sheepdog] zookeeper cluster driver question

Yunkai Zhang yunkai.me at gmail.com
Wed May 16 16:03:12 CEST 2012


On Wed, May 16, 2012 at 9:22 PM, Liu Yuan <namei.unix at gmail.com> wrote:
> On 05/16/2012 08:59 PM, Christoph Hellwig wrote:
>
>> Can someone explain what the zk_queue_push_back/zk_queue_pop pair
>> in the CJ_RES_MASTER_TRANSFER case of zk_dispatch is for? I can't
>> find any place that modifies the event before so, which makes the
>> push/pop pair appear to be a no -op to me.
>
>
> Yes, I have the same wonder. Yunkai ?

I have not tested MASTER_TRANSFER in zookeeper driver, the
push_back/pop pair have been added in first version of the driver for
a long time.

I think it should be a bug, I'm going to fix it tomorrow.


>
> Thanks,
> Yuan


-- 
Yunkai Zhang
Work at Taobao



More information about the sheepdog mailing list