cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rishi Bhardwaj (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-1643) Endpoint cache for a token should be part of AbstractReplicationStrategy and not Snitch
Date Thu, 21 Oct 2010 18:32:16 GMT
Endpoint cache for a token should be part of AbstractReplicationStrategy and not Snitch
---------------------------------------------------------------------------------------

                 Key: CASSANDRA-1643
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1643
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7 beta 2, 0.7 beta 1
            Reporter: Rishi Bhardwaj
             Fix For: 0.7.0


There is a single DynamicEndpointSnitch object for all ReplicationStrategy objects. This DynamicEndpointSnitch
object contains a single IEndpointSnitch subsnitch object. This subsnitch object contains
the Endpoint cache for a token. Thus there is a single endpoint cache for all ReplicationStrategy
objects. This implies that replica nodes for a Token as returned by the Cache would be same
irrespective of the ReplicationStrategy object. This is a bug, the Endpoint cache should be
a part of "AbstractReplicationStrategy" object rather than the IEndpointSnitch object.


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


Mime
View raw message