cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10200) NetworkTopologyStrategy.calculateNaturalEndpoints is rather inefficient
Date Fri, 13 Nov 2015 17:27:10 GMT

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

Mime
View raw message