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 1EF117E69 for ; Mon, 18 Jul 2011 19:46:20 +0000 (UTC) Received: (qmail 66842 invoked by uid 500); 18 Jul 2011 19:46:20 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 66643 invoked by uid 500); 18 Jul 2011 19:46:19 -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 66627 invoked by uid 99); 18 Jul 2011 19:46:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2011 19:46:18 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,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; Mon, 18 Jul 2011 19:46:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 97C2943593 for ; Mon, 18 Jul 2011 19:45:57 +0000 (UTC) Date: Mon, 18 Jul 2011 19:45:57 +0000 (UTC) From: "Stu Hood (JIRA)" To: commits@cassandra.apache.org Message-ID: <1300037649.1278.1311018357617.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <501938580.1274.1311018118064.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (CASSANDRA-2916) Streaming estimatedKey calculation should never be 0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067238#comment-13067238 ] Stu Hood edited comment on CASSANDRA-2916 at 7/18/11 7:44 PM: -------------------------------------------------------------- Patch to ensure that we never estimate 0 keys for non-empty ranges. Also, properly handle the case where a range captures exactly one key. was (Author: stuhood): Path to ensure that we never estimate 0 keys for non-empty ranges. Also, properly handle the case where a range captures exactly one key. > Streaming estimatedKey calculation should never be 0 > ---------------------------------------------------- > > Key: CASSANDRA-2916 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2916 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Stu Hood > Assignee: Stu Hood > Priority: Minor > Fix For: 1.0 > > Attachments: 0001-CASSANDRA-2916-Assume-at-least-one-estimated-key-for-s.txt > > > The new in-streaming SSTable rebuild uses the sender's estimated key calculation to determine which codepath to take: in some cases, samples can result in an estimated key count of 0. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira