[sheepdog] [PATCH RFC 0/2] show recovery progress via collie
    Hitoshi Mitake 
    mitake.hitoshi at lab.ntt.co.jp
       
    Mon Jul 29 09:39:25 CEST 2013
    
    
  
Current sheepdog doesn't provide a progress of recovery process. The
information is important when sheepdog cluster stores massive data.
This patch implements a mechanism for showing it. A new subcommand
"collie node recovery-progress" prints a progress bar of recovery
process.
There are still todos for improving this. Major ones are:
1. Calculate size of actually copied objects.
   For doing this, not so trivial changes for recovery process is
   required.
2. Print remaining physical time.
   Even if it is not so acculate, it is helpful for administrators.
But I think this is useful for sheepdog administrators. I'd like to
hear your comments.
Thanks,
Hitoshi Mitake (2):
  sheep: enhance STAT_RECOVERY for prividing information of recovery
    progress
  collie: add a new subcommand "recovery-progress" to node
 collie/node.c            |   82 +++++++++++++++++++++++++++++++++++++++++++++-
 include/internal_proto.h |   12 +++++++
 sheep/ops.c              |   11 +++++--
 sheep/recovery.c         |   33 ++++++++++++++-----
 sheep/sheep_priv.h       |    1 +
 5 files changed, 126 insertions(+), 13 deletions(-)
-- 
1.7.10.4
    
    
More information about the sheepdog
mailing list