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

        

Reply via email to