[Sheepdog] Sheepdog 0.3.0 schedule and 0.4.0 plan
zituan at taobao.com
Tue Nov 15 11:55:00 CET 2011
On Tue, Nov 15, 2011 at 6:49 PM, Liu Yuan <namei.unix at gmail.com> wrote:
> On 11/15/2011 06:34 PM, Yibin Shen wrote:
>> On Tue, Nov 15, 2011 at 6:16 PM, MORITA Kazutaka
>> <morita.kazutaka at lab.ntt.co.jp> wrote:
>>> At Tue, 15 Nov 2011 10:25:41 +0800,
>>> Yibin Shen wrote:
>>>> Hi, kuzum:
>>>> We wish to add other three features in 0.4.0 merge window,
>>>> 1. object's R/W checksum support(which will be optional) for sheep I/O
>>> How to store the checksum? Will this feature be implemented on Yuan's
>> we will create a checksum file for each object, and named with object
>> name plus a suffix,
>> hmm, maybe this is conflicted with "farm" project, I will talked it with Yuan.
> Not at all. Farm doesn't do with raw object. You can play with it on
> farm as it is right now. But if we need checksum it, maybe we can create
> a header for object.
I don't think it's a good choice , that will make object hard to "decode"
> write(oid, buf, size)
> sha1 = get_sha1(buf, size);
> init_hdr(sha1, size)
> insert(buf, &hdr);
> write_object(odi, buf, size);
> read(oid, buf, size)
> sha1 = get_sha1(read_file(oid), size, &hdr);
> verify_sha1(sha1, hdr.sha1);
> sheepdog mailing list
> sheepdog at lists.wpkg.org
This email (including any attachments) is confidential and may be legally privileged. If you received this email in error, please delete it immediately and do not copy it or use it for any purpose or disclose its contents to any other person. Thank you.
More information about the sheepdog