[
https://issues.apache.org/jira/browse/HBASE-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637016#comment-13637016
]
Sergey Shelukhin commented on HBASE-8299:
-----------------------------------------
{quote} bq. The min size sanity check should ensure it's 2 or more. Should it
do precondition check? {quote}
bq. I'd much rather protect against a bug then try and prematurely optimize.
It's not optimization, just correctness, we never should be attempting to
compact one file here.
With other stuff in my mind less lines generally means more clarity.
+1 assuming the all of the policies will be removed except the good one.
> 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