|
From: Doug C. <cu...@ap...> - 2008-02-29 22:18:16
|
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 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. 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: 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 Does that sound right? Doug |