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

Sergey Shelukhin commented on HBASE-8299:
-----------------------------------------

The compaction is not only requested when it's necessary. There's periodic 
compaction checker, and there's compaction when region is opened. 
needsCompaction also doesn't check ratio iirc, so number of files would be 
enough to call compaction selection. It doesn't mean there must be selection. 
In such cases with one large file and a few new memstore flush files that are 
not yet by themselves within the ratio, there must be no compaction.
If something calls selection non-stop when there's no reasonable selection to 
be made it's a different problem.
                
> ExploringCompactionPolicy can get stuck in rare cases.
> ------------------------------------------------------
>
>                 Key: HBASE-8299
>                 URL: https://issues.apache.org/jira/browse/HBASE-8299
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.1
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>         Attachments: HBASE-8299-0.patch
>
>
> If the files are very oddly sized then it's possible that 
> ExploringCompactionPolicy can get stuck.

--
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

Reply via email to