You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2011/07/18 21:45:57 UTC

[jira] [Updated] (CASSANDRA-2916) Streaming estimatedKey calculation should never be 0

     [ https://issues.apache.org/jira/browse/CASSANDRA-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stu Hood updated CASSANDRA-2916:
--------------------------------

    Attachment: 0001-CASSANDRA-2916-Assume-at-least-one-estimated-key-for-s.txt

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