Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87F659168 for ; Thu, 29 Mar 2012 15:26:49 +0000 (UTC) Received: (qmail 13594 invoked by uid 500); 29 Mar 2012 15:26:49 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 13567 invoked by uid 500); 29 Mar 2012 15:26:49 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 13559 invoked by uid 99); 29 Mar 2012 15:26:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2012 15:26:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2012 15:26:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E9E7534C468 for ; Thu, 29 Mar 2012 15:26:27 +0000 (UTC) Date: Thu, 29 Mar 2012 15:26:27 +0000 (UTC) From: "Vijay (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <776691592.32981.1333034788013.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1252692874.30020.1332968129079.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-4099) IncomingTCPConnection recognizes from by doing socket.getInetAddress() instead of BroadCastAddress MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241305#comment-13241305 ] Vijay commented on CASSANDRA-4099: ---------------------------------- getFrom gets the IP from the message header and the message header is set by the caller, which uses FB.BCA and the receiving machine sets it. Plz look at Message.getInternalReply for example. Thanks! > IncomingTCPConnection recognizes from by doing socket.getInetAddress() instead of BroadCastAddress > -------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-4099 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4099 > Project: Cassandra > Issue Type: Bug > Reporter: Vijay > Assignee: Vijay > Priority: Minor > Attachments: 0001-CASSANDRA-4099-v2.patch, 0001-CASSANDRA-4099.patch > > > change "this.from = socket.getInetAddress()" to understand the broad cast IP, but the problem is we dont know until the first packet is received, this ticket is to work around the problem until it reads the first packet. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira