You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Cyril Scetbon (JIRA)" <ji...@apache.org> on 2013/10/23 17:35:42 UTC
[jira] [Updated] (CASSANDRA-5299) isLocalDc() in
OutboundTcpConnection class retrieves local IP in wrong way
[ https://issues.apache.org/jira/browse/CASSANDRA-5299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cyril Scetbon updated CASSANDRA-5299:
-------------------------------------
Fix Version/s: 1.2.3
> 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
> Fix For: 1.2.3
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)