[sheepdog] [PATCH v2] farm: remove stale objects for crashed sheep when it comes back

MORITA Kazutaka morita.kazutaka at gmail.com
Sun May 20 03:24:19 CEST 2012


At Sat, 19 May 2012 18:35:29 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> During the window the crashed sheep restarts, the objects might be updated.
> So we need to purge store/obj directory to assure consistency.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/farm/farm.c  |    9 +++++++++
>  sheep/group.c      |    8 ++++++++
>  sheep/sheep_priv.h |    1 +
>  3 files changed, 18 insertions(+), 0 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list