[sheepdog] [PATCH V2] sheep: initiative to send leave event to cluster when shutdown
Liu Yuan
namei.unix at gmail.com
Wed Jun 27 04:52:09 CEST 2012
On 06/27/2012 09:54 AM, Yunkai Zhang wrote:
> V2:
> - s/cluster_leave/leave_cluster/ in commit log
> - s/leaved/left/ in patch's code
> ---------------------------------------------- >8
>
> 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 leave_cluster() before sheep exit can solve this problem.
Applied, thanks.
Yuan
More information about the sheepdog
mailing list