[sheepdog] [PATCH v2] recovery: fix tgt_epoch chaos

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed May 29 11:23:12 CEST 2013


At Wed, 29 May 2013 17:15:53 +0800,
Liu Yuan wrote:
> 
> tgt_epoch is the epoch of highest epoch from where we try to recover object. We
> can't simply assign it as the sys->epoch. This won't cause fatal problem because
> we'll tgt_epoch--, but will cause unnecessary recovery requests that mostly fail
> 
> This patch adds a new field tgt_epoch to mean exactly it.
> 
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
>  sheep/recovery.c |   11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list