[Sheepdog] [PATCH UPDATE] sheep: refactor recovery logic

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Jan 30 16:57:32 CET 2012


At Wed, 21 Dec 2011 11:10:31 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> Current recovery logic is elusive and it is not easy to be understood.
> I hope this work would ease the headache.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
> update:
>  - remove redundant memset().
>  - correct old|cur_copies rollback.
> 
>  sheep/store.c |  360 +++++++++++++++++++++++++++++++--------------------------
>  1 files changed, 194 insertions(+), 166 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list