Hi jonathan Thank you for the answer. Do you know where to look to understand why this works. As i understood all the node then will chose ramdoms tokens. How can i assure the correctness of the ring?
So as you said. Under the condition that there.is no data in the cluster. I can initialize a cluster multi dc without disable auto bootstrap.? On Feb 22, 2018 5:43 PM, "Jonathan Haddad" <j...@jonhaddad.com> wrote: If it's a new cluster, there's no need to disable auto_bootstrap. That setting prevents the first node in the second DC from being a replica for all the data in the first DC. If there's no data in the first DC, you can skip a couple steps and just leave it on. Leave it on, and enjoy your afternoon. Seeds don't bootstrap by the way, changing the setting on those nodes doesn't do anything. On Thu, Feb 22, 2018 at 8:36 AM Jean Carlo <jean.jeancar...@gmail.com> wrote: > Hello > > I would like to clarify this, > > In order to initialize a cassandra multi dc cluster, without data. If I > follow the documentation datastax > > https://docs.datastax.com/en/cassandra/2.1/cassandra/initialize/ > initializeMultipleDS.html > > > It says > > - auto_bootstrap: false (Add this setting *only* when initializing a > clean node with no data.) > > But I dont understand the way this works regarding to the auto_bootstraps. > > If all the machines make their own tokens in a ramdon way using > murmur3partitioner and vnodes , it isn't probable that two nodes will have > the tokens in common ? > > It is not better to bootstrap first the seeds with auto_bootstrap: false > and then the rest of the nodes with auto_bootstrap: true ? > > Thank you for the help > > Jean Carlo > > "The best way to predict the future is to invent it" Alan Kay >