[sheepdog] [PATCH] sheep/ops.c: fix problem caused by uninitialized backend storage in gateway

2014-12-11 Thread Jinzhi Chen
when a new gateway(never joined a cluster before) joined a existing clsuter. `dog vdi object location` causes the new gateway exist because its backend storage is not initialized. this patch solves this problems by checking whether a node is gateway in `local_oid_exist` fucntion. simple return

Re: [sheepdog] [PATCH] sheep/ops.c: fix problem caused by uninitialized backend storage in gateway

2014-12-11 Thread Hitoshi Mitake
At Thu, 11 Dec 2014 16:30:58 +0800, Jinzhi Chen wrote: when a new gateway(never joined a cluster before) joined a existing clsuter. `dog vdi object location` causes the new gateway exist because its backend storage is not initialized. this patch solves this problems by checking whether a