You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2015/11/13 18:27:10 UTC

[jira] [Updated] (CASSANDRA-10200) NetworkTopologyStrategy.calculateNaturalEndpoints is rather inefficient

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