You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2013/05/31 17:33:20 UTC

[jira] [Resolved] (CASSANDRA-5603) YamlFileNetworkTopologySnitch doesn't call reconnectViaPreferredAddress in onChange

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

Brandon Williams resolved CASSANDRA-5603.
-----------------------------------------

    Resolution: Fixed

I can't think of a scenario where this is actually needed, so I think it's EC2MRS that's being gratuitous, but I went ahead and added it to onChange since the cost is nothing if I'm right, and the behavior is correct if I'm wrong.
                
> YamlFileNetworkTopologySnitch doesn't call reconnectViaPreferredAddress in onChange
> -----------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5603
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5603
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Jeremiah Jordan
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 2.0
>
>
> I was looking into how EC2 Multi Region did its magic with the private/public ips for the local network.  YamlFileNetworkTopologySnitch looks like it tries to do the same thing, but it doesn't do the reconnectViaPreferredAddress in onChange.  Don't know if it is technically needed, but EC2MRS reconnects in onJoin, onChange, and onAlive.  While YamlFileNetworkTopologySnitch only does it in onJoin and onAlive.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira