Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B99BE9E7F for ; Thu, 9 Feb 2012 09:29:54 +0000 (UTC) Received: (qmail 14199 invoked by uid 500); 9 Feb 2012 09:29:52 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 13525 invoked by uid 500); 9 Feb 2012 09:29:31 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 12859 invoked by uid 99); 9 Feb 2012 09:29:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 09:29:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 09:29:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B0B801ACF07 for ; Thu, 9 Feb 2012 09:28:59 +0000 (UTC) Date: Thu, 9 Feb 2012 09:28:59 +0000 (UTC) From: "Marcel Steinbach (Created) (JIRA)" To: commits@cassandra.apache.org Message-ID: <2065843328.18702.1328779739725.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CASSANDRA-3880) Random Partitioner does not check if tokens are outside of its range 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 Random Partitioner does not check if tokens are outside of its range -------------------------------------------------------------------- Key: CASSANDRA-3880 URL: https://issues.apache.org/jira/browse/CASSANDRA-3880 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.0.7, 0.7.6 Reporter: Marcel Steinbach Priority: Minor Setting up a ring where the tokens are outside RP's token range leads to an unbalanced cluster. The partitioner still reports equally distributed ownership since it calculates ownership only with the _distances_ of the tokens in relation to the maximum token. E.g. maximum token = 15 token1 = 5 token2 = 10 token3 = 15 token4 = 20 ownership4 = (token4 - token3) / maximum_token = 5 / 15 = 1/3 So token4 claims to own 33.33% of the ring but is not responsible for any primary replicas. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira