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

Liu Yuan namei.unix at gmail.com
Tue May 7 06:53:13 CEST 2013


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?

Thanks,
Yuan



More information about the sheepdog mailing list