You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2015/02/24 13:25:04 UTC

[jira] [Comment Edited] (CASSANDRA-8843) STCS getMaximalTask checking wrong set is empty.

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

Marcus Eriksson edited comment on CASSANDRA-8843 at 2/24/15 12:24 PM:
----------------------------------------------------------------------

yup, +1


was (Author: krummas):
yup

> STCS getMaximalTask checking wrong set is empty.
> ------------------------------------------------
>
>                 Key: CASSANDRA-8843
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8843
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jeremiah Jordan
>            Assignee: Jeremiah Jordan
>            Priority: Minor
>             Fix For: 2.1.4
>
>         Attachments: 0001-8843.patch
>
>
> Pretty sure this should be isEmpty(filteredSSTables) not isEmpty(sstables).
> https://github.com/apache/cassandra/blob/cassandra-2.1/src/java/org/apache/cassandra/db/compaction/SizeTieredCompactionStrategy.java#L333



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)