I am thinking about the frequent example:
dc1 - node1: 0
dc1 - node2: large...number
dc2 - node1: 1
dc2 - node2: large...number + 1
In theory using the same tokens in dc2 as in dc1 does not significantly
affect key distribution, specifically the two keys on the border will
move to the next one, but that is not much. However it seems that there
is an unexplained requirement (at least I could not find an
explanation), that all nodes must have a unique token, even if they are
put into a different circle by NetworkTopologyStrategy.
On 2012.03.05. 11:48, aaron morton wrote:
Moreover all tokens must be unique (even across datacenters), although
- from pure curiosity - I wonder what is the rationale behind this.
Otherwise data is not evenly distributed.