Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 60100 invoked from network); 10 Apr 2009 17:26:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Apr 2009 17:26:37 -0000 Received: (qmail 33816 invoked by uid 500); 10 Apr 2009 17:26:37 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 33799 invoked by uid 500); 10 Apr 2009 17:26:37 -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 33789 invoked by uid 99); 10 Apr 2009 17:26:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2009 17:26:37 +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; Fri, 10 Apr 2009 17:26:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D4CC0234C051 for ; Fri, 10 Apr 2009 10:26:14 -0700 (PDT) Message-ID: <1272422258.1239384374856.JavaMail.jira@brutus> Date: Fri, 10 Apr 2009 10:26:14 -0700 (PDT) From: "Avinash Lakshman (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-14) The initial arrive time should not be set to zero 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-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697869#action_12697869 ] Avinash Lakshman commented on CASSANDRA-14: ------------------------------------------- Hmm. That is weird. Because I have small, 5 node test cluster, and it definitely doesn't take minutes. Maybe the recovery is taking time. Nodes do not join the cluster untill recovery is complete. > The initial arrive time should not be set to zero > ------------------------------------------------- > > Key: CASSANDRA-14 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14 > Project: Cassandra > Issue Type: Bug > Reporter: zhu han > Assignee: Avinash Lakshman > Fix For: 0.3 > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > In line 253 of src.org.apache.cassandra.gms .FailureDetector, the initial arrive time should not be zero. Otherwise, the failure detector would report the new joining node as dead because the phi is positive infinity when the mean of arrive time is zero. > A proper value should be set as the initial value. I use half of the gossip period as the initial value, whose default configuration is 1000ms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.