[sheepdog] [PATCH] sheep, collie: add a new subcommand of cluster "kill"

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue May 7 08:05:08 CEST 2013


At Tue, 07 May 2013 12:53:13 +0800,
Liu Yuan wrote:
> 
> On 05/07/2013 10:34 AM, Hitoshi Mitake wrote:
> > Currently only one way to stop every sheep process joining a cluster
> > is cluster shutdown. But this doesn't work well when a state of the
> > cluster is not SD_STATUS_OK. This patch adds a new subcommand "kill"
> > to collie cluster. It is defined as a force operation, so even if the
> > cluster is not in a state of SD_STATUS_OK, the operation force to stop
> > the cluster.
> 
> I think simply set SD_OP_SHUTDOWN as force operation would work. I can't
> think of a reason why it is not force operation, Kazum?

I think it's no problem to make it a force operation.

Thanks,

Kazutaka



More information about the sheepdog mailing list