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

Aleksey Yeschenko updated CASSANDRA-10200:
------------------------------------------
    Issue Type: Improvement  (was: Bug)

> 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
>
> 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