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

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Wed Dec 23 13:44:11 CET 2015


  Branch: refs/heads/recovery-diskfull
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 07de9158e02f07f0a6e577f6d79ef0961037f9b5
      https://github.com/sheepdog/sheepdog/commit/07de9158e02f07f0a6e577f6d79ef0961037f9b5
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-12-23 (Wed, 23 Dec 2015)

  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