At Fri, 17 Jul 2015 10:01:31 +0800,
Ruoyu wrote:
> 
> 
> On 2015年07月16日 22:33, Hitoshi Mitake wrote:
> > At Thu, 16 Jul 2015 23:31:21 +0900,
> > Hitoshi Mitake wrote:
> >> Cc: zhanghongzhou <[email protected]>
> >> Cc: Ruoyu <[email protected]>
> >> Cc: Robin Dong <[email protected]>
> >> Signed-off-by: Hitoshi Mitake <[email protected]>
> >> ---
> >>   sheep/cluster/zookeeper.c | 2 +-
> >>   1 file changed, 1 insertion(+), 1 deletion(-)
> > I'm cc-ing Robin, not only Ruoyu, because the locking feature of
> > zookeeper driver is for the object storage feature. Ruoyu, Robin, do
> > you have any ideas about the problem reported by zhanghongzhou?
> >
> > Thanks,
> > Hitoshi
> look good to me.
> 
> Thanks,
> Ruoyu

Thanks Ruoyu, applied this one.

Thanks,
Hitoshi

> >
> >> diff --git a/sheep/cluster/zookeeper.c b/sheep/cluster/zookeeper.c
> >> index 4ad3ef9..4a2351a 100644
> >> --- a/sheep/cluster/zookeeper.c
> >> +++ b/sheep/cluster/zookeeper.c
> >> @@ -352,7 +352,7 @@ static struct cluster_lock 
> >> *lock_table_lookup_acquire(uint64_t lock_id)
> >>                     ret_lock->id);
> >>            rc = zk_init_node(path);
> >>            if (rc)
> >> -                  panic("Failed to init node %s", path);
> >> +                  panic("Failed to init node %s: %s", path, zerror(rc));
> >>   
> >>            sem_init(&ret_lock->wait_wakeup, 0, 1);
> >>            sd_init_mutex(&ret_lock->id_lock);
> >> -- 
> >> 1.9.1
> >>
> 
> 
-- 
sheepdog mailing list
[email protected]
https://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to