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 070909897 for ; Tue, 5 Jun 2012 23:38:24 +0000 (UTC) Received: (qmail 29284 invoked by uid 500); 5 Jun 2012 23:38:23 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 29253 invoked by uid 500); 5 Jun 2012 23:38:23 -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 29161 invoked by uid 99); 5 Jun 2012 23:38:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2012 23:38:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 928A41402B8 for ; Tue, 5 Jun 2012 23:38:23 +0000 (UTC) Date: Tue, 5 Jun 2012 23:38:23 +0000 (UTC) From: "Vijay (JIRA)" To: commits@cassandra.apache.org Message-ID: <1591445976.41960.1338939503602.JavaMail.jiratomcat@issues-vm> 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 [ https://issues.apache.org/jira/browse/CASSANDRA-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289854#comment-13289854 ] Vijay commented on CASSANDRA-4099: ---------------------------------- Hi Jonathan, IMO the right fix for it with a similar approach as in the ticket CASSANDRA-4101 (we can also remove the ConcurrentMap.get() to compare the versions), Agree? > 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 > Fix For: 1.0.9, 1.1.0 > > Attachments: 0001-CASSANDRA-4099-v2.patch, 0001-CASSANDRA-4099-v3.patch, 0001-CASSANDRA-4099-v4.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