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

Marcus Eriksson updated CASSANDRA-5299:
---------------------------------------

    Attachment: 0001-CASSANDRA-5299-use-broadCastAddress-when-figuring-ou.patch
    
> isLocalDc() in OutboundTcpConnection class retrieves local IP in wrong way
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5299
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5299
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: MichaƂ Michalski
>            Assignee: Marcus Eriksson
>         Attachments: 
> 0001-CASSANDRA-5299-use-broadCastAddress-when-figuring-ou.patch
>
>
> My question from dev mailing list:
> bq. Can someone explain me why isLocalDc() in OutboundTcpConnection class 
> uses DatabaseDescriptor.getRpcAddress() for retrieving "local" IP, instead of 
> using DD.getListenAddress() or - even better - FBUtilities.getLocalAddress()? 
> I mean - I don't get why RPC address is checked before initializing internode 
> (so not RPC-based)  communication, which will use IP address returned by (in 
> OTCPool) FBUtilities.getLocalAddress()?
> And response by Marcus Eriksson:
> bq. That should probably be FBUtilities.getBroadCastAddress even, could you 
> file a ticket?

--
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

Reply via email to