Michał Michalski created CASSANDRA-5299: -------------------------------------------
Summary: 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 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