On 07/13/2012 11:47 PM, harryxiyou wrote:
> Hi guys,
> 
>   I wanna know the theory about sheepdog's snapshot. Cloud anyone please
> give me some docs or some suggestions? I just read the source codes
> https://github.com/collie/sheepdog/blob/master/sheep/farm/snap.c
> and the docs 
> https://github.com/collie/sheepdog/blob/master/doc/farm-internal.txt
> But i cannot get a framework about sheepdog's snapshot. If anyone give
> me the snapshot's
> algorithm flow chart, it will be better ;-).
> 
> Thanks in advance.
> 

There is no so called framework and algorithm, the snapshot object is
just a sha1 copy of object organized by a trunk structure, which is
indexed by a sha1 string.

I think the code is just less than 1k lines, not that hard to
understand, so simply run and read the code to get the idea if you think
farm-internal.txt doesn't explain any confusion to you.

Thanks,
Yuan

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to