Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 8158 invoked from network); 11 Oct 2009 12:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Oct 2009 12:37:04 -0000 Received: (qmail 6490 invoked by uid 500); 11 Oct 2009 12:37:04 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 6457 invoked by uid 500); 11 Oct 2009 12:37:04 -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 6447 invoked by uid 99); 11 Oct 2009 12:37:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 12:37:04 +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; Sun, 11 Oct 2009 12:37:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A947234C045 for ; Sun, 11 Oct 2009 05:36:31 -0700 (PDT) Message-ID: <1839875950.1255264591414.JavaMail.jira@brutus> Date: Sun, 11 Oct 2009 05:36:31 -0700 (PDT) From: "Hudson (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12764446#action_12764446 ] Hudson commented on CASSANDRA-385: ---------------------------------- Integrated in Cassandra #224 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/224/]) add AutoBootstrap config option patch by jbellis. reviewed by goffinet for > 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 > > Attachments: 0001-CASSANDRA-385-clean-up-loadinfo-and-SLB.txt, 0002-make-LoadInfo-a-double-instead-of-going-from-long-s.txt, 0003-move-javadoc-into-mbean.-inline-methods-where-wrappin.txt, 0004-use-Strings-instead-of-Endpoints-in-jmx-methods.-merge.txt, 0005-add-getLoadMap-jmx-method-add-load-info-to-nodeprobe.txt, 0006-get-token-on-bootstrap-that-gives-us-half-of-the-keys.txt, 0007-switch-to-messagingservice-to-get-bootstrap-token.patch, 0008-rename-getMessagingInstance-instance-r-m-unused.patch > > > 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.