Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 88894 invoked from network); 28 Aug 2009 18:04:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Aug 2009 18:04:54 -0000 Received: (qmail 93752 invoked by uid 500); 28 Aug 2009 18:04:54 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 93729 invoked by uid 500); 28 Aug 2009 18:04:54 -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 93717 invoked by uid 99); 28 Aug 2009 18:04:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 18:04:54 +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, 28 Aug 2009 18:04:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AA323234C044 for ; Fri, 28 Aug 2009 11:04:32 -0700 (PDT) Message-ID: <1055207590.1251482672682.JavaMail.jira@brutus> Date: Fri, 28 Aug 2009 11:04:32 -0700 (PDT) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-397) bootstrap and ringcache In-Reply-To: <121868439.1251476339403.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-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748923#action_12748923 ] Jonathan Ellis commented on CASSANDRA-397: ------------------------------------------ The point is that RingCache is not aware of TokenMetadata.bootstrapNodes, so fat clients using it cannot ever "discover" bootstrapping nodes. Rather than making RingCache even more complex now (and again, when we do load balancing / node decommissioning) it seems like making the nodes doing the work is a better encapsulation. > bootstrap and ringcache > ----------------------- > > Key: CASSANDRA-397 > URL: https://issues.apache.org/jira/browse/CASSANDRA-397 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Jonathan Ellis > Fix For: 0.5 > > > Bootstrap mode makes it easy to shoot yourself in the foot with RingCache (see CASSANDRA-197). > One solution would be to have the node that is providing data to the new, bootstrapping node, echo writes to the new node. Currently, the coordinator node is in charge of including the new node as an "extra" replica, but if a fat client is using messagingservice directly with RingCache that doesn't work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.