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

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Mon Apr 25 08:59:06 CEST 2016


  Branch: refs/heads/recovery-diskfull
  Home:   https://github.com/sheepdog/sheepdog
  Commit: e98977978b68419aac6b95968d8fcf2d5774004d
      https://github.com/sheepdog/sheepdog/commit/e98977978b68419aac6b95968d8fcf2d5774004d
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M dog/cluster.c
    M include/internal_proto.h
    M sheep/recovery.c

  Log Message:
  -----------
  sheep: avoid diskfull caused by recovery process

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.

Fixes https://github.com/sheepdog/sheepdog/issues/59

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>




More information about the sheepdog mailing list