Re: Data rebalancing algorithm

2016-01-08 Thread Robert Coli
On Thu, Jan 7, 2016 at 11:42 PM, Jonathan Haddad wrote: > num_tokens is the number of tokens per node, not per cluster. > MySQL docs are enumerated in the manual along with their scope. I have seen the enumeration in the Cassandra docs, but I don't remember seeing scope there. Perhaps a useful s

Re: Data rebalancing algorithm

2016-01-07 Thread Jonathan Haddad
with the num_tokens parameter in the Cassandra.yaml. > > > > Alec > > > > *From:* Sergi Vladykin [mailto:sergi.vlady...@gmail.com] > *Sent:* Friday, 25 December 2015 8:31 AM > *To:* user@cassandra.apache.org > *Subject:* Re: Data rebalancing algorithm > > > > Th

RE: Data rebalancing algorithm

2016-01-07 Thread Alec Collier
. Actually, Cassandra does have a total number of vnodes per cluster. Its set with the num_tokens parameter in the Cassandra.yaml. Alec From: Sergi Vladykin [mailto:sergi.vlady...@gmail.com] Sent: Friday, 25 December 2015 8:31 AM To: user@cassandra.apache.org Subject: Re: Data rebalancing algorithm

Re: Data rebalancing algorithm

2015-12-24 Thread Sergi Vladykin
Thanks a lot for your answers! Paulo, I'll take a look at classes you've suggested. Jack, the link you've provided lacks description on how virtual nodes are mapped to phisical sstables/indexes on disk. To be more exact, I have the following better detailed questions: 1. How vnodes are mapped t

Re: Data rebalancing algorithm

2015-12-24 Thread Jack Krupansky
Read details here: https://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_add_node_to_cluster_t.html -- Jack Krupansky On Thu, Dec 24, 2015 at 11:09 AM, Paulo Motta wrote: > The new node will own some parts (ranges) of the ring according to the > ring tokens the node is responsibl

Re: Data rebalancing algorithm

2015-12-24 Thread Paulo Motta
The new node will own some parts (ranges) of the ring according to the ring tokens the node is responsible for. These tokens are defined from the yaml property initial_token (manual assignment) or num_tokens (random assignment). During the bootstrap process raw data from sstables sections containi