-
Type:
Bug
-
Status: Resolved
-
Priority:
Normal
-
Resolution: Fixed
-
Fix Version/s: 4.0, 4.0-alpha4
-
Component/s: Feature/Virtual Nodes
-
Labels:None
-
Bug Category:Correctness
-
Severity:Normal
-
Complexity:Normal
-
Discovered By:User Report
-
Platform:All
-
Impacts:Docs
-
Since Version:
-
Source Control Link:
-
Test and Documentation Plan:
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.