[ 
https://issues.apache.org/jira/browse/CASSANDRA-10200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko updated CASSANDRA-10200:
------------------------------------------
    Fix Version/s:     (was: 3.x)
                   3.2

> NetworkTopologyStrategy.calculateNaturalEndpoints is rather inefficient
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-10200
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10200
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Branimir Lambov
>            Assignee: Branimir Lambov
>            Priority: Minor
>             Fix For: 3.2
>
>
> The method is much more complicated than it needs to be and creates too many 
> maps and sets. The code is easy to simplify if we use the known number of 
> racks and nodes per datacentre to choose what to do in advance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to