cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Bulman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2177) OPP + NTS + RF=2 reports wrong getRangeToEndpointMap
Date Fri, 18 Feb 2011 22:44:39 GMT

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

Mike Bulman commented on CASSANDRA-2177:
----------------------------------------

So I'm not sure what happened here with copy/paste, but I can still reproduce in the exact
same way still.  Just pretend the token in the ring is N* :)

> OPP + NTS + RF=2 reports wrong getRangeToEndpointMap
> ----------------------------------------------------
>
>                 Key: CASSANDRA-2177
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2177
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Mike Bulman
>
> OPP, 3 node cluster, RackInferringSnitch.
> Ring:
> [root@mb541 apache-cassandra-0.7.1]# bin/nodetool -h localhost ring
> Address         Status State   Load            Owns    Token                        
              
>                                                        zzz                          
              
> 1.2.3.4 Up     Normal  42.48 KB        33.33%  aaa                                  
      
> 1.2.3.5 Up     Normal  42.39 KB        33.33%  rDwPSSIKSaXEwaaV                     
      
> 1.2.3.6  Up     Normal  42.5 KB        33.33%  zzz         
> getRangeToEndPointMap for KS using NTS with {'2':2} replication returns:
> {
> ('aaa', 'zzz'): ('1.2.3.6', '1.2.3.5'),
> ('zzz', 'NVOt7oNr1UcCzCEU'): ('1.2.3.5', '1.2.3.6'), 
> ('NVOt7oNr1UcCzCEU', 'aaa'): ('1.2.3.4', '1.2.3.6')
> }
> node '4' is only represented once.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message