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 300371751B for ; Sat, 4 Oct 2014 14:00:43 +0000 (UTC) Received: (qmail 49122 invoked by uid 500); 4 Oct 2014 14:00:43 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 49091 invoked by uid 500); 4 Oct 2014 14:00:43 -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 49080 invoked by uid 99); 4 Oct 2014 14:00:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Oct 2014 14:00:42 +0000 Date: Sat, 4 Oct 2014 14:00:42 +0000 (UTC) From: "Aleksey Yeschenko (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CASSANDRA-7406) Reset version when closing incoming socket in IncomingTcpConnection should be done atomically 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-7406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Yeschenko resolved CASSANDRA-7406. ------------------------------------------ Resolution: Duplicate Resolving as a duplicate of CASSANDRA-7734, for it is essentially about the same thing, and has more linked issues and more comments. > Reset version when closing incoming socket in IncomingTcpConnection should be done atomically > --------------------------------------------------------------------------------------------- > > Key: CASSANDRA-7406 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7406 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: CentOS release 5.5 (Tikanga) > Reporter: Ray Chen > Assignee: Aleksey Yeschenko > > When closing incoming socket, the close() method will call MessagingService.resetVersion(), this behavior may clear version which is set by another thread. > This could cause MessagingService.knowsVersion(endpoint) test results as false (expect true here). -- This message was sent by Atlassian JIRA (v6.3.4#6332)