[sheepdog] [sheepdog/sheepdog] e98977: sheep: avoid diskfull caused by recovery process

Hitoshi Mitake mitake.hitoshi at gmail.com
Mon May 2 11:04:53 CEST 2016

On Sun, May 1, 2016 at 12:14 PM, AP <sheepdog at inml.weebeastie.net> wrote:

> On Tue, Apr 26, 2016 at 07:20:15PM -0700, Hitoshi Mitake wrote:
> > sheep can corrupt its cluster by diskfull with recovery process. For
> > avoiding this problem, this patch adds a new option -F to dog cluster
> > format. If this command is passed during cluster formatting, every
> > sheep process of the cluster skips recovery if there is a possibility
> > of diskfull during recovery.
> I'm a little confused and am wondering if I am reading this incoorectly.
> This sounds like the default is to set up the cluster in such a way that
> it'll corrupt itself.
> Shouldn't it be the other way around? That the default should leave you
> safe and you have the option of running naked through the poison ivy
> if that's your idea of fun.
> Or did I miss something?

The default setup will corrupt the cluster if there is no enough space for
recovery as you say. However, the new option can result a situation that
some objects lack its enough replicas. Maybe adding a new option for
killing the cluster itself when there's no enough space would be good.


> AP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20160502/536c9011/attachment.html>

More information about the sheepdog mailing list