You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Erick Tryzelaar (JIRA)" <ji...@apache.org> on 2010/04/16 06:53:25 UTC

[jira] Updated: (CASSANDRA-988) DatacenterEndPointSnitch does not work with RackAwareStrategy

     [ https://issues.apache.org/jira/browse/CASSANDRA-988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Tryzelaar updated CASSANDRA-988:
--------------------------------------

    Attachment: 0001-Rename-AbstractEndpointSnitch-to-AbstractEndPointSni.patch
                0002-Fix-RackAwareStrategy-to-work-with-DatacenterEndPoin.patch

These depend on #984 being committed. The first patch is a simple rename of AbstractEndpointSnitch to AbstractEndPointSnitch to be consistent with the other locator files. The second changes the RackAwareStrategy to test for subclasses of AbstractEndPointSnitch instead of EndPointSnitch. Not sure if there's a more appropriate way to fix this though.

> DatacenterEndPointSnitch does not work with RackAwareStrategy
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-988
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-988
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7, 0.8
>            Reporter: Erick Tryzelaar
>         Attachments: 0001-Rename-AbstractEndpointSnitch-to-AbstractEndPointSni.patch, 0002-Fix-RackAwareStrategy-to-work-with-DatacenterEndPoin.patch
>
>
> RackAwareStrategy explicitly tests for the snitch to be a subclass of EndPointSnitch, but DatacenterEndPointSnitch doesn't subclass from it, but rather AbstractEndPointSnitch.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira