Re: [sheepdog] [PATCH] sheep: don't clean stale dir if there are no enough nodes

2014-12-11 Thread Yang Zhang
Hi Hitoshi, We think it's a reasonable idea killing gateway nodes when there are only gateway nodes left. The VM can not read/write from/to Sheepdog in this situation anyway. We can test more latter:) Thanks, Yang, Long -原始邮件- 发件人: Hitoshi Mitake mitake.hito...@gmail.com

Re: [sheepdog] [PATCH] sheep: don't clean stale dir if there are no enough nodes

2014-12-10 Thread Hitoshi Mitake
At Fri, 5 Dec 2014 12:05:26 +0800 (GMT+08:00), Yang Zhang wrote: Hi Hitoshi, I've test the patch. It didn't solve the problem, 'dog vdi list' still show object not found. Actually. it didn't clean the object saved in .stale dir, but didn't recover it back to obj/ also. Yang, long,

Re: [sheepdog] [PATCH] sheep: don't clean stale dir if there are no enough nodes

2014-12-05 Thread long
hi all, Because the gateway nodes only to hold is the bitmap information of the cluster.So,I think the epoch format should be changed : or store only the node's information which has objects , or store the node’s information in difference way depends on the node is

Re: [sheepdog] [PATCH] sheep: don't clean stale dir if there are no enough nodes

2014-12-04 Thread 张扬
Hi Hitoshi, sure, we'll test it tomorrow:) Thanks, Yang -原始邮件- 发件人: Hitoshi Mitake mitake.hito...@lab.ntt.co.jp 发送时间: 2014年12月4日 星期四 收件人: sheepdog@lists.wpkg.org 抄送: mitake.hito...@gmail.com, Hitoshi Mitake mitake.hito...@lab.ntt.co.jp, duron...@qq.com, 张扬

Re: [sheepdog] [PATCH] sheep: don't clean stale dir if there are no enough nodes

2014-12-04 Thread Yang Zhang
Hi Hitoshi, I've test the patch. It didn't solve the problem, 'dog vdi list' still show object not found. Actually. it didn't clean the object saved in .stale dir, but didn't recover it back to obj/ also. Also, i wonder even if we recover the obj in.stale dir, will it be the newest version?

[sheepdog] [PATCH] sheep: don't clean stale dir if there are no enough nodes

2014-12-03 Thread Hitoshi Mitake
Current recovery process has a bug of data wipe. After an epoch which consists only gateway nodes, objects stored in dying nodes will be wiped when the nodes join to the cluster. This patch solves the problem with removing invalid call of sd_store-cleanup() during recovery completion. Related

Re: [sheepdog] [PATCH] sheep: don't clean stale dir if there are no enough nodes

2014-12-03 Thread Hitoshi Mitake
At Thu, 4 Dec 2014 16:05:39 +0900, Hitoshi Mitake wrote: Current recovery process has a bug of data wipe. After an epoch which consists only gateway nodes, objects stored in dying nodes will be wiped when the nodes join to the cluster. This patch solves the problem with removing invalid