Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 23522 invoked from network); 27 Apr 2009 22:45:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Apr 2009 22:45:53 -0000 Received: (qmail 87631 invoked by uid 500); 27 Apr 2009 22:45:53 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 87608 invoked by uid 500); 27 Apr 2009 22:45:53 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 87598 invoked by uid 99); 27 Apr 2009 22:45:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 22:45:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 22:45:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5A4AA234C003 for ; Mon, 27 Apr 2009 15:45:30 -0700 (PDT) Message-ID: <1252545862.1240872330354.JavaMail.jira@brutus> Date: Mon, 27 Apr 2009 15:45:30 -0700 (PDT) From: "Eric Evans (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-97) race condition prevents startup under Xen vm In-Reply-To: <141527131.1240508910563.JavaMail.jira@brutus> 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-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703425#action_12703425 ] Eric Evans commented on CASSANDRA-97: ------------------------------------- First off, I think these patches (000[1-3]) look good. I don't see a reason for the key state collections that currently exist; IMO this is how the code should look, +1 for applying it. However, I still believe there is a race condition here. Or rather, I am experiencing what seems to be a race condition between the select() call in SelectorManager.run and the invocation of SelectorManager.register() from the main thread. Is no one else seeing this? > race condition prevents startup under Xen vm > -------------------------------------------- > > Key: CASSANDRA-97 > URL: https://issues.apache.org/jira/browse/CASSANDRA-97 > Project: Cassandra > Issue Type: Bug > Reporter: Jonathan Ellis > Assignee: Jonathan Ellis > Fix For: 0.3 > > Attachments: 0001-r-m-unused-code-do-minor-cleanup.patch, 0002-r-m-unnecessary-race-prone-cancelled-read-write-ke.patch, 0003-renaming-and-final-cleanup.patch, cassandra_race_condition_in_xen.patch > > > Reported by Soo Hwan Park on the mailing list. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.