You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2015/05/11 19:31:00 UTC
[jira] [Commented] (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=14538230#comment-14538230 ]
Ariel Weisberg commented on CASSANDRA-8843:
-------------------------------------------
[~jjordan] does this deserve a regression or unit test?
> 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.5
>
> 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)