You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Branimir Lambov (Jira)" <ji...@apache.org> on 2020/02/25 16:02:00 UTC

[jira] [Created] (CASSANDRA-15600) Algorithmic token allocation does not handle the racks = RF case well

Branimir Lambov created CASSANDRA-15600:
-------------------------------------------

             Summary: Algorithmic token allocation does not handle the racks = RF case well
                 Key: CASSANDRA-15600
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15600
             Project: Cassandra
          Issue Type: Bug
          Components: Feature/Virtual Nodes
            Reporter: Branimir Lambov


When the number of racks in a data centre is equal to the replication factor, the node allocation algorithm may calculate the target ownership incorrectly and allocate unsuitable tokens. This causes some inefficiency when the number of nodes in the DC is small, and significant problems if the number of nodes in each rack is different.

In this case (racks count equal to replication factor) the load within each rack is effectively distributed independently. The allocation algorithm should reflect that, restricting the allocation space to the rack (instead of the DC) and using the RF=1 solution.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org