[
https://issues.apache.org/jira/browse/HBASE-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13626147#comment-13626147
]
Elliott Clark commented on HBASE-8299:
--------------------------------------
We are only requested to compact when there is an issue (user requested, or the
number of files is getting close). The compaction should do as requested. If
we don't do something then there's the chance of getting stuck in a loop.
If in your same example the max storefiles is 3 there will be an infinite loop
if we don't choose something.
Maybe if we don't pass the ratio test it should take the smallest set of files ?
> 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