On Tue, Jun 26, 2012 at 11:28 PM, Yunkai Zhang <yunkai.me at gmail.com> wrote: > From: Yunkai Zhang <qiushu.zyk at taobao.com> > > Sheep will stop itself after received collie shutdown CMD, but zookeeper > server can't detect this leaving action until session timeout(30 seconds > at this time), as a result we have to wait a few seconds before we can > restart sheep. This is very annoying. > > Calling cluster_leave() before sheep exit can solve this problem. s/cluster_leave/leave_cluster/ -- Yunkai Zhang Work at Taobao |