[sheepdog] questions for sheepdog fresh

saxion saxion at qq.com
Wed Apr 12 14:03:19 CEST 2017


Hello everyone, I'm learning distributed storage system sheepdog.
But I have some questions about sheepdog after I googled what I want to know.
As far as I know, consistent hashing is used in sheepdog for data distribution.
For example, a sheepdog cluster with 3 repica policy, an object OID will be mapped to host1, hosti and hostj.

My question is how we get those three host? For every object, an oid will be mapped to(using consistent hashing) only one host(host1 for example), how to select the other two host(hosti and hostj)? Or is there any details I got wrong idea?

And, when host1 is down, how about the data rebalance/recovery, how to choose the right host to make sure there are 3 copied for every object?

Thanks.

saxion


More information about the sheepdog mailing list