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

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Tue Nov 24 08:34:30 CET 2015


  Branch: refs/heads/recovery-diskfull
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 442b88e40cc1c67bced33899e346566031ac1827
      https://github.com/sheepdog/sheepdog/commit/442b88e40cc1c67bced33899e346566031ac1827
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-11-24 (Tue, 24 Nov 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 problem, this patch adds a new option -F to sheep. If
this command is passed to the sheep process, 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