+ return object_size;
}
static inline uint64_t data_oid_to_idx(uint64_t oid)
diff --git a/lib/fec.c b/lib/fec.c
index c4e7a6f..fb40773 100644
--- a/lib/fec.c
+++ b/lib/fec.c
@@ -696,12 +696,13 @@ out:
}
void fec_decode_buffer(struct fec *ctx, uint8_t *input[], const int
From: Hitoshi Mitake mitake.hitoshi@lab.ntt.co.jp
To: Teruaki Ishizaki ishizaki.teruaki@lab.ntt.co.jp
Cc: sheepdog@lists.wpkg.org
Subject: Re: [sheepdog] [PATCH 3/3] add selectable object_size support of VDI operation
In-Reply-To: 1418129364-29585-4-git-send-email-ishizaki.teruaki@lab.ntt.co.jp
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
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
On 2014年12月10日 20:19, Hitoshi Mitake wrote:
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
See http://jenkins.sheepdog-project.org:8080/job/sheepdog-build/569/changes
Changes:
[mitake.hitoshi] lib, isa-l: solve build error of isa-l
[mitake.hitoshi] sheep/ops.c: fix problem caused by uninitialized backend
storage in gateway
--
[...truncated 51
@@ -451,10 +462,34 @@ static int vdi_create(int argc, char **argv)
if (ret 0)
return EXIT_USAGE;
- if (size SD_OLD_MAX_VDI_SIZE 0 == vdi_cmd_data.store_policy) {
+ if (vdi_cmd_data.object_size)
+ old_max_total_size =
+
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
Sounds good. Is there any guide for earthquake?
I encounter a problem when I execute the build script in the project's path.
$ ./build
gopath/src/code.google.com/p/goprotobuf/proto/text.go:39:2: no Go source
files in /usr/lib/go/src/pkg/encoding
protoc-gen-go: program not found or is not