[
https://issues.apache.org/jira/browse/HBASE-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636070#comment-13636070
]
Ted Yu commented on HBASE-8299:
-------------------------------
NoStuckSmallestPolicy needs license header.
For NoStuckSmallestPolicy#applyCompactionPolicy():
{code}
+ if (bestSelection.size() == 0 && mightBeStuck) {
+ return new ArrayList<StoreFile>(smallest);
+ }
{code}
When bestSelection.size() == 0 && !mightBeStuck, we return bestSelection. Would
smallest be empty in this case ?
> 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, HBASE-8299-1.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