Hello,

Going through
https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/architecture/archDataDistributeDistribute.html
.

But it is not clear how a node decides where each of its vnodes will be
replicated to.

As an example from the above page:

   1. Why is vnode A present in nodes 1,2 and 5
   2. BUT vnode B is present in nodes 1,4 and 6


I realize that the diagram is for illustration purposes only, but the idea
being conveyed should nevertheless be the same as I suggested above.

So how come node 1 decides to put A on itself, 2 and 5 but put B on itself,
4 and 6 ?
Shouldn't there be consistency here such that all vnodes present on A are
replicated to same set of other nodes?

Any clarifications on that would be appreciated.

I also understand that different vnodes are replicated to different nodes
for performance.
But all I want to know is the algorithm that it uses to put them on
different nodes.

Thanks!

Reply via email to