[sheepdog] [PATCH v2 0/2] don't remove objects when they might be necessary

Liu Yuan namei.unix at gmail.com
Sun Aug 26 03:57:35 CEST 2012


On 08/26/2012 09:04 AM, MORITA Kazutaka wrote:
> Changes from v1:
>  - move all objects in the working directory to the stale directory in
>    purge_obj()
> 
> 
> This series depends on
> http://lists.wpkg.org/pipermail/sheepdog/2012-August/006322.html
> 
> We shouldn't remove objects until object recovery completely finishes.
> With this patch, even if we wrongly stop more sheeps than the
> redundancy level at the same time, sheepdog can recover objects
> automatically after they start up.  Even if sheepdog crashes
> unexpectedly, we can recover objects from the stale directory manually
> at worst.

Applied, thanks.

Yuan



More information about the sheepdog mailing list