[sheepdog-users] Understanding number of copies and offline node behaviour

MORITA Kazutaka morita.kazutaka at gmail.com
Thu Sep 12 16:28:31 CEST 2013


At Mon, 9 Sep 2013 17:47:36 +0800,
Liu Yuan wrote:
> 
> On Mon, Sep 09, 2013 at 11:27:13AM +0200, Valerio Pachera wrote:
> > > Mode is removed in the recent commit.
> > 
> > So it's not possible anymore to format the cluster with unsafe or
> > quorum option, right?
> > 
> 
> Now we are only using unsafe mode.
> 
> > I need to know that also to update the documentation.
> > 
> > PS: what's the reason/rational of this change?
> 
> Kazutaka, could you elaberate it a bit since you remove the --mode ?

--mode unsafe means sheep doesn't return SD_STATUS_HALT.  Here is an
explanation from my commit log.

==
    SD_STATUS_HALT is used to avoid reading an old data when there are too
    few nodes and node failure happens with them.  However, the current
    implementation already allows users to read the old data when all the
    replicas are lost.  It doesn't make sense to have a halt status as a
    special case.
==

Thanks,

Kazutaka



More information about the sheepdog-users mailing list