Branimir Lambov created CASSANDRA-10200:
-------------------------------------------
Summary: NetworkTopologyStrategy.calculateNaturalEndpoints is
rather inefficient
Key: CASSANDRA-10200
URL: https://issues.apache.org/jira/browse/CASSANDRA-10200
Project: Cassandra
Issue Type: Bug
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)