[Sheepdog] [PATCH] sheep: exit when corosync stops running unexpectedly

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Aug 30 01:53:20 CEST 2011


At Mon, 29 Aug 2011 14:36:49 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> When the corosync dies, sheep will recive a signal but currently
> ignores it. If corosync restarts, we have to manually kill sheep
> and restart it to work with corosync. By simplicity, sheep should
> exit when corosync dies. Other policy like handling corosync re-join
> would be considered later.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/group.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)

Nice work!  I've applied to the master branch.

Thanks,

Kazutaka



More information about the sheepdog mailing list