[
https://issues.apache.org/jira/browse/HBASE-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13626913#comment-13626913
]
Sergey Shelukhin commented on HBASE-8299:
-----------------------------------------
There will only be infinite loop (I assume you mean no compaction ever
selected?) if there are no more files added.
I think this is by design, compaction in this case doesn't make sense... if it
doesn't make sense as minor compaction at one time, it still doesn't make sense
later.
For the above case getting stuck:
1) Why isn't major compaction enough to resolve it?
2) Another thing is that the above described pattern looks very uncommon. Imho
we should optimize for common pattern... if we introduce something that can
hurt normal use case by making unnecessary compactions at least it should be
configurable and off by default.
Btw, smallest allowed set of files in the 500 1 1 case is also 500 1 1.
> 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