Re: Question about the way that isLocalDc() gets local DC

2013-02-28 Thread Michal Michalski
Sure, done :-) https://issues.apache.org/jira/browse/CASSANDRA-5299 MM W dniu 28.02.2013 15:30, Marcus Eriksson pisze: that should probably be FBUtilities.getBroadCastAddress even, could you file a ticket?

Re: Question about the way that isLocalDc() gets local DC

2013-02-28 Thread Marcus Eriksson
that should probably be FBUtilities.getBroadCastAddress even, could you file a ticket? On Thu, Feb 28, 2013 at 3:11 PM, Michal Michalski wrote: > I have a C* sourcecode related question: > > Can someone explain me why isLocalDc() in OutboundTcpConnection class uses > DatabaseDescriptor.**getRpc

Question about the way that isLocalDc() gets local DC

2013-02-28 Thread Michal Michalski
I have a C* sourcecode related question: 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 RP