[sheepdog] [PATCH] sheep, collie: add a new subcommand of cluster "kill"
Hitoshi Mitake
mitake.hitoshi at gmail.com
Tue May 7 16:10:54 CEST 2013
At Tue, 07 May 2013 15:05:08 +0900,
MORITA Kazutaka wrote:
>
> 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 for your comments. I'll implement the command as a special case
of shutdown.
Thanks,
Hitoshi
More information about the sheepdog
mailing list