[sheepdog] [PATCH v2 01/10] sheep: do breadth first search in recover_object_from_replica()

Liu Yuan namei.unix at gmail.com
Thu May 9 07:22:20 CEST 2013


On 05/09/2013 10:38 AM, MORITA Kazutaka wrote:
>  	buf = valloc(rlen);
>  	if (!buf) {
> +		ret = SD_RES_NO_MEM;
>  		sd_eprintf("%m");
>  		goto out;

It seems that we just rollback when SD_RES_NO_MEM happens, is this the
right behavior? This will lead possible stale object.

Thanks,
Yuan



More information about the sheepdog mailing list