[ 
https://issues.apache.org/jira/browse/CASSANDRA-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885666#action_12885666
 ] 

Jeremy Hanna commented on CASSANDRA-1104:
-----------------------------------------

Looks like it needs some of that ugliness to get the right type of data 
structure returned.  Just didn't see why it was adding *then* sorting 
afterwards.

> Clean up DatacenterShardStrategy.loadEndpoints
> ----------------------------------------------
>
>                 Key: CASSANDRA-1104
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1104
>             Project: Cassandra
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Jonathan Ellis
>            Assignee: Jeremy Hanna
>            Priority: Minor
>             Fix For: 0.7
>
>
> I added
>         // TODO verify that each DC [datacenter] has enough endpoints for the 
> desired RF [replicationfactor]
> Also, Jeremy points out some ugliness in the existing loadEndpoints code in 
> the comments to CASSANDRA-1103.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to