hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8870) Store.needsCompaction() should include minFilesToCompact
Date Wed, 25 Sep 2013 17:28:06 GMT

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

stack commented on HBASE-8870:
------------------------------

+1 on 0.96 [~sershe]; thanks.
                
> Store.needsCompaction() should include minFilesToCompact
> --------------------------------------------------------
>
>                 Key: HBASE-8870
>                 URL: https://issues.apache.org/jira/browse/HBASE-8870
>             Project: HBase
>          Issue Type: Bug
>          Components: Compaction
>    Affects Versions: 0.95.1
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>            Priority: Minor
>         Attachments: HBASE-8870.03.patch, HBASE-8870.txt, HBASE-8870.txt, HBase-8870-v2.txt
>
>
> read here:
> {code}
>   public boolean needsCompaction() {
>     return (storefiles.size() - filesCompacting.size()) > minFilesToCompact;
>   }
> {code}
> imho, it should be 
> {code}
>   public boolean needsCompaction() {
>     return (storefiles.size() - filesCompacting.size()) >= minFilesToCompact;
>   }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message