[ 
https://issues.apache.org/jira/browse/CASSANDRA-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837473#action_12837473
 ] 

Jonathan Ellis commented on CASSANDRA-814:
------------------------------------------

> We use < and > in the if statement

doesn't seem that inclusive comparisons is necessarily any more correct, really.

> We always divide by 2

good catch, fixed in new patchset.

> Compaction bucketizing is computing average size incorrectly
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-814
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-814
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: 0001-rename-CM.getCompactionBuckets-CM.getBuckets.txt, 
> 0002-fix-average-size-calculation.txt
>
>
> in the worst case (which doesn't seem to actually affect anyone) this could 
> prevent sstables from being compacted, incorrectly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to