From: Yunkai Zhang <[email protected]>

With delay recovery, we can add(kill) multiple nodes into(from) cluster
leisurely, only one recovery operation will be triggered at the end of
delay recovery, so that it can help me to reduce cluster's fluctuation.

Yunkai Zhang (3):
  collie: add delay_recovery {start|stop} command
  sheep: do the real work of delay recovery
  collie: add collie delay_recovery info command

 collie/Makefile.am       |   3 +-
 collie/collie.c          |   1 +
 collie/collie.h          |   1 +
 collie/delay_recovery.c  | 128 +++++++++++++++++++++++++++++++++++++++++++++++
 include/internal_proto.h |   9 ++++
 include/sheepdog_proto.h |   4 ++
 sheep/group.c            |  72 +++++++++++++++++++-------
 sheep/ops.c              |  57 +++++++++++++++++++++
 sheep/sheep_priv.h       |   5 ++
 9 files changed, 260 insertions(+), 20 deletions(-)
 create mode 100644 collie/delay_recovery.c

-- 
1.7.11.2

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to