Hi,

I've read many, many docs (yes ,
http://wiki.apache.org/cassandra/Operationstoo...) but I still can't
see how bootstrapping work...

I started with one node and put my data in it (16 GB). It's ok.

I added a second node with AutoBootstrap=true (as explained in the doc, I
didn't add this node in the seeds list). In the two nodes, I didn't
specified the initial token.

>From the doc : "If you explicitly specify an InitialToken in the
configuration, the new node will bootstrap to that position on the ring.
Otherwise, it will pick a Token that will give it half the keys from the
node with the most disk space used, that does not already have another node
bootstrapping into its Range."

So the new node should be in charge of about half the keys. When I start the
second none, nothing happens : no data migratation to the new node (it's
data folder is empty...)

Is it supposed to work that way, or have I missed something ?

when I look to the ring, I can see my two nodes (the first one with 90%, the
second one with 10%).

I tried then to put values for initialToken for both nodes (stopping and
restartings the servers), but it didn't change anything : I have the same
token values...

Please help, I'm becoming mad...

thanks,

Patrick

Reply via email to