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

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Wed Oct 28 06:23:44 CET 2015


  Branch: refs/heads/recovery-diskfull
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 60a339fd1e4a8cbe82f5d3cdc5d4f278d64becbf
      https://github.com/sheepdog/sheepdog/commit/60a339fd1e4a8cbe82f5d3cdc5d4f278d64becbf
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-10-28 (Wed, 28 Oct 2015)

  Changed paths:
    M sheep/recovery.c
    M sheep/sheep.c
    M sheep/sheep_priv.h

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

sheep can corrupt its cluster by diskfull with recovery process. For
avoiding this process, this patch adds a new option -F to sheep. If
this command is passed to the sheep process, every sheep process of
the cluster kills itself if there is a possibility of diskfull during
recovery.

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




More information about the sheepdog mailing list