[sheepdog] [PATCH] sheep, collie: make cluster shutdown a force operation

Hitoshi Mitake mitake.hitoshi at gmail.com
Wed May 8 17:10:57 CEST 2013


At Wed, 08 May 2013 23:42:43 +0900,
MORITA Kazutaka wrote:
> 
> At Wed, 08 May 2013 22:18:39 +0900,
> Hitoshi Mitake wrote:
> > 
> > At Wed, 08 May 2013 12:57:25 +0800,
> > Liu Yuan wrote:
> > > 
> > > On 05/08/2013 11:46 AM, Hitoshi Mitake wrote:
> > > > -f is just for safety. I think changing the meaning of shutdown would
> > > >  be a little bit dangerous for users.
> > > 
> > > Why it is dangerous, any example? People use 'shutdown' the cluster, I
> > > think it is quite safe regardless status of the cluster. Well, what we
> > > really need is a confirm before executing the 'shutdown' requests like
> > > 'format'.
> > 
> > The confirm will break existing scripts for managing sheepdog
> > clusters. I cannot agree with the way.
> 
> IMO, there is no need to confirm before shutdown.  The operation doesn't hurt
> the existing data at all.  With the same reason, it looks okay to make
> SD_OP_SHUTDOWN a force operation always.

OK, making SD_OP_SHUTDOWN seems to have no problem.
I'll send v2 later.

Thanks,
Hitoshi



More information about the sheepdog mailing list