|
From: Ning L. <nin...@gm...> - 2008-02-29 22:38:02
|
On Fri, Feb 29, 2008 at 5:18 PM, Doug Cutting <cu...@ap...> wrote: > Ning Li wrote: > > I think this is how it works with replication=3: > > Node A serves range A-D, node B serves range B-E, node C serves range C-F... > > Node C syncs with nodes A & B on range C-D, syncs with nodes B and D > > on range D-E, and syncs with nodes D & E on range E-F. > > You've switched to counter-clockwise replication, but I think that's Oops, I always used clockwise replication. :) > generally more intuitive anyway. I also think of syncing as directional > and pulled, not pushed. So I think I'd state it (equivalently) as: > > C syncs C-D from A, C-E from B, D-F from D, and E-F from F. It's not node F, but node E: C syncs C-D from A, C-E from B, D-F from D, and E-F from E. > In other words, from each host it overlaps it syncs the overlapping > range. Numbers might be simpler: > > X has X to X+1 and syncs: It should be "X has X to X+3 and syncs". > X to X+1 from X-2 > X to X+2 from X-1 > X+1 to X+3 from X+1 > X+2 to X+3 from X+2 The rest looks correct. Ning |