[sheepdog] [PATCH] sheep: remove local node from the target of SD_OP_GET_OBJ_LIST
MORITA Kazutaka
morita.kazutaka at gmail.com
Fri May 17 17:22:57 CEST 2013
At Fri, 17 May 2013 22:47:14 +0800,
Liu Yuan wrote:
>
> On 05/17/2013 10:04 PM, MORITA Kazutaka wrote:
> > Ah, I see. The current tests can pass without getting object list from local.
> > Seems that they are not enough to avoid degradation.
> >
> > Anyway, I think we can get the list from local obj_list_cache instead of
> > sending SD_OP_GET_OBJ_LIST.
>
> I think either(get list from socket or direct get from cache) is okay
> , it is similar to our gateway read/write. Unless we have a benefit, I'd
> rather keep it as is.
>
> Can't pass following test with your patch.
>
> From 87c1b4e3b2caf0bbb80522e29c0f54d68825a1dd Mon Sep 17 00:00:00 2001
> From: Liu Yuan <tailai.ly at taobao.com>
> Date: Fri, 17 May 2013 22:44:24 +0800
> Subject: [PATCH] tests: add 061 to test list preparation of sheep recovery
> logic
>
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
Thanks, applied this patch!
Kazutaka
More information about the sheepdog
mailing list