Re: New DC / token distribution not balanced

2023-03-16 Thread Mathieu Delsaut
unsubscribe Mathieu Delsaut Studies Engineer @ DSIMB & ENERGY-Lab Interne : 2357 | Externe : +262 262 93 86 08 . Le jeu. 16 mars 2023 à 21:02, Bowen Song via user a écrit :

Re: New DC / token distribution not balanced

2023-03-16 Thread Bowen Song via user
No, allocate_tokens_for_local_replication_factor does not exist in Cassandra 3. It was introduced in Cassandra 4.0. Now, may I interest you with an upgrade? Not only Cassandra 4 comes with a lots of improvements and bug fixes, it's also a fairly painless process. I find it much easier to upgra

Re: New DC / token distribution not balanced

2023-03-16 Thread Max Campos
Does this exist for Cassandra 3.x? I know it was in DSE for DSE’s 3.x equivalent, and seems to be in Cassandra 4.x cassandra.yaml. I don’t see it here, though: https://github.com/apache/cassandra/blob/cassandra-3.11/conf/cassandra.yaml

Re: New DC / token distribution not balanced

2023-03-16 Thread Bowen Song via user
You may find "allocate_tokens_for_local_replication_factor" more useful than "allocate_tokens_for_keyspace" when you are spinning up a new DC. On 16/03/2023 06:25, Max Campos wrote: Update:  I figured out the problem! The “allocate_tokens_for_keyspace” value needs to be set for a keyspace tha