When a new node joins in the cluster by what process a node learn its relationship in the cluster?
When a new node joins in the cluster by what process a node learn its relationship in the cluster?
Bootstraping is the process of adding a new node in the cluster.
1) Joining node contact a seed node
2) the seed node communicates cluster info including token tanges to the joining node
3) Existing cluster nodes prepare to stream necessary sstables to the joining node
4) Existing cluster nodes stream necessary sstables to the joining node (it can be time consuming)
5)Existing cluster nodes continue to satistfy writes but also forward write to the joining node
6) When streaming is complete, joining node changes to normal state and handles read and write requests
How to do that ? Four main parameters to bootstrap a node:
1) cluster name
2) native_transport_address
3) Listen_address
4) -seeds
A new node bootstraps into the cluster by the following high level steps.
For a more detailed explanation on the boot strapping process, please refer to the documentation Bootstrapping Apache Cassandra Nodes
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use