Replication factor of 2 will widen the token range assignment of node? And what is token range overlap?
Replication factor of 2 will widen the token range assignment of node? And what is token range overlap?
Hi,
Before a node can join a Cassandra ring, it must be assigned a token. The token value determines the node's position in the ring and its token range. The token or the range are independent of the replication strategies that you might define for your data.
So, to answer your question, a replication factor greater than one will not modify the token range. The token ranges generally don't change unless you add or remove nodes from the ring.
Token ranges will also not overlap. Each token belongs to one range and one node only.
The replication strategy and replication factor determine which nodes will store a replica of the data. For example, SimpleStrategy places the first replica on a node determined by the token. Additional replicas are placed on the next nodes in the ring.
I hope this helps!
7 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