On Fri, Feb 29, 2008 at 8:50 PM, Yonik Seeley <yo...@ap...> wrote:
> On Fri, Feb 29, 2008 at 7:21 PM, Ning Li <nin...@gm...> wrote:
> > I'm confused with which is clockwise and which is counter-clockwise now. :(
>
> I noticed the switch, too. It just depends if your reference is the
> node or the key.
> a doc that falls on node A will be replicated in B and C (that's
> clockwise, like dynamo).
> If you are looking for a replica of C, it will be at A and B
> (counter-clockwise).
Ignore this previous part, I think I confused myself :-)
> I don't think it really matters what the direction ends up being
> though. A node will be replicated to N unique hosts in a consistent
> (but arbitrary) direction.
>
> Personally, it makes more sense to thing of it as HostA containing
> NodeA, NodeB, NodeC (or IndexA, IndexB, IndexC). It's replicas of
> nodes rather than overlapping ranges.
>
> -Yonik
>
|