Hi all,

I'm just trying to understand better how cassandra works.

My understanding is that, once set, the number of vnodes does not change in
a cluster. The partitioner allocates vnodes to nodes ensuring replication
data are not stored on the same node.

But what happens if there are more nodes than vnodes? If I set num_tokens
to 3 and I have 5 servers? Unless the partitioner adds vnodes and moves
data around but it seems an extremely expensive operation. I'm sure I'm
missing something, I'm not quite sure what! :)

Thanks,
Luca

Reply via email to