Re: more nodes than vnodes

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

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 works. &g

Re: more nodes than vnodes

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

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 vn

Re: more nodes than vnodes

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

Re: more nodes than vnodes

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

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 nodes