cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyril Scetbon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5299) isLocalDc() in OutboundTcpConnection class retrieves local IP in wrong way
Date Wed, 23 Oct 2013 15:35:42 GMT

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

Mime
View raw message