cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5299) isLocalDc() in OutboundTcpConnection class retrieves local IP in wrong way
Date Thu, 28 Feb 2013 19:19:13 GMT

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

Brandon Williams updated CASSANDRA-5299:
----------------------------------------

    Reviewer: vijay2win@yahoo.com
    
> 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

Mime
View raw message