Re: [sheepdog] problems about `dog vdi object location` when node is in gateway mode

2014-12-10 Thread Hitoshi Mitake
At Tue, 9 Dec 2014 10:21:04 +0800, Jinzhi Chen wrote: [1 multipart/alternative (7bit)] [1.1 text/plain; UTF-8 (7bit)] hi, when a new gateway (never joined a cluster before) joins a existing cluster (already formatted), `dog vdi object location` will cause the new gateway exit.

[sheepdog] [PATCH stable-0.8 2/3] zk_control: add list and purge queue nodes issue

2014-12-10 Thread wzy8...@139.com
Hi, All On the issue, in my production environment, it is very easy to happen(there is 20 gateway nodes and 10 sheep nodes in my production environment ) The only way to slove the problem is useing zk_control tools, when the zk node is too huge, use the tools purge periodically , but

Re: [sheepdog] [PATCH stable-0.8 2/3] zk_control: add list and purge queue nodes issue

2014-12-10 Thread Hitoshi Mitake
At Wed, 10 Dec 2014 19:24:04 +0800, wzy8...@139.com wrote: [1 multipart/alternative (7bit)] [1.1 text/plain; us-ascii (base64)] Hi, All On the issue, in my production environment, it is very easy to happen(there is 20 gateway nodes and 10 sheep nodes in my production environment )

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,

[sheepdog] Build failed in Jenkins: sheepdog-build #568

2014-12-10 Thread sheepdog-jenkins
See http://jenkins.sheepdog-project.org:8080/job/sheepdog-build/568/changes Changes: [mitake.hitoshi] dog: referencing uninitialized buffer during cluster format -- [...truncated 48 lines...] checking for socket in -lsocket... no checking for

[sheepdog] [PATCH v2] sheep: handle a case of small buffer in cinfo collection

2014-12-10 Thread Hitoshi Mitake
Current cinfo_collection_work() and SD_OP_VDI_STATE_SNAPSHOT_CTL doesn't handle a case of small buffer. This patch solves it. Cc: Saeki Masaki saeki.mas...@po.ntts.co.jp Cc: Yuka Kawasaki kawasaki.y...@po.ntts.co.jp Signed-off-by: Hitoshi Mitake mitake.hito...@lab.ntt.co.jp --- sheep/group.c

Re: [sheepdog] [PATCH] This patch solves build problem at least on Gentoo[1] and solves ignoring some enviroment variables like CC. Patch solves - hardcoding compiler to gcc instead use CC enviroment

2014-12-10 Thread Hitoshi Mitake
At Mon, 08 Dec 2014 10:11:12 +0900, Hitoshi Mitake wrote: At Thu, 4 Dec 2014 16:07:19 +0100, Marcin Miros$(D)H(Baw wrote: [1] - http://lists.wpkg.org/pipermail/sheepdog-users/2014-November/002807.html Signed-off-by: Marcin Miros$(D)H(Baw mar...@mejor.pl ---

[sheepdog] [PATCH 0/2] sheep: forbid revival of orphan objects

2014-12-10 Thread Hitoshi Mitake
This patchset solves a long remaining problem: revival of orphan objects. The same thing can be found here: https://github.com/sheepdog/sheepdog/tree/orphan-objects Valerio, could you test it? Hitoshi Mitake (2): tests/functional: test a case of orphan object revival sheep: forbid revival

[sheepdog] [PATCH 2/2] sheep: forbid revival of orphan objects

2014-12-10 Thread Hitoshi Mitake
Current recovery process can cause revival of orphan objects. This patch solves this problem. How to: exclude a newly joining sheep from recovery process if a cluster is already in SD_STATUS_OK. It emans the cluster has every replica already. Cc: Valerio Pachera siri...@gmail.com Signed-off-by: