Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 70007 invoked from network); 5 Oct 2009 18:11:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Oct 2009 18:11:21 -0000 Received: (qmail 63576 invoked by uid 500); 5 Oct 2009 18:11:21 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 63545 invoked by uid 500); 5 Oct 2009 18:11:21 -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 63479 invoked by uid 99); 5 Oct 2009 18:11:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 18:11:21 +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, 05 Oct 2009 18:11:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 962B4234C4A8 for ; Mon, 5 Oct 2009 11:10:32 -0700 (PDT) Message-ID: <370931355.1254766232612.JavaMail.jira@brutus> Date: Mon, 5 Oct 2009 11:10:32 -0700 (PDT) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-385) intellibootstrap In-Reply-To: <547942125.1250740814808.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-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-385: ------------------------------------- Attachment: (was: 0004-use-Strings-instead-of-Endpoints-in-jmx-methods.-merge.txt) > intellibootstrap > ---------------- > > Key: CASSANDRA-385 > URL: https://issues.apache.org/jira/browse/CASSANDRA-385 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Jonathan Ellis > Assignee: Jonathan Ellis > Fix For: 0.5 > > > ideally bootstrap mode should determine its new position on the ring by examining the Load of the existing nodes in the cluster. (currently Load is just disk space used but making this pluggable is another ticket.) having found the highest-load-node-that-is-not-participating-in-bootstrap, it should ask that node for a Token which would move half the keys over to the new node. > This is easily computed since we have a periodic sampling of keys in memory of all the keys on disk, and even SSTable.getIndexedKeys that merges all such keys. So pick the midpoint, and turn it into a token (these are decorated keys so that is always possible). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.