Re: more nodes than vnodes

2022-06-15 Thread Luca Rondanini
e you would have 15 vnodes altogether. >>> >>> Cheers, >>> Hannu >>> >>> > On 15. Jun 2022, at 10.08, Luca Rondanini >>> wrote: >>> > >>> > Hi all, >>> > >>> > I'm just trying to understa

Re: more nodes than vnodes

2022-06-15 Thread Hannu Kröger
. >> >> Cheers, >> Hannu >> >> > On 15. Jun 2022, at 10.08, Luca Rondanini > > <mailto:luca.rondan...@gmail.com>> wrote: >> > >> > Hi all, >> > >> > I'm just trying to understand better how cassandra

Re: more nodes than vnodes

2022-06-15 Thread Luca Rondanini
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. >> > &g

Re: more nodes than vnodes

2022-06-15 Thread Hannu Kröger
; > > > 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

Re: more nodes than vnodes

2022-06-15 Thread Luca Rondanini
r. 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

Re: more nodes than vnodes

2022-06-15 Thread Hannu Kröger
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 t

more nodes than vnodes

2022-06-15 Thread Luca Rondanini
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