You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jeff Whiting (JIRA)" <ji...@apache.org> on 2010/11/03 01:00:27 UTC

[jira] Commented: (HBASE-3160) Compactions: Use more intelligent priorities for PriorityCompactionQueue

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

Jeff Whiting commented on HBASE-3160:
-------------------------------------

Nicholas you mentioned in the jira that "Note that we also found/fixed a major compaction downgrade bug while writing this code."  Being the primary author of HBASE-2646 which added the priority compaction queue, I'm interested in knowing what the bug was!  So what was the bug?  And what was your fix?

I like the improvement and especially how it makes it much more granular in who should get priority.

> Compactions: Use more intelligent priorities for PriorityCompactionQueue
> ------------------------------------------------------------------------
>
>                 Key: HBASE-3160
>                 URL: https://issues.apache.org/jira/browse/HBASE-3160
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.89.20100924, 0.90.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>             Fix For: 0.90.0
>
>         Attachments: HBASE-3160.patch
>
>
> One of the problems with the current compaction queue is that we have a very low granularity on the importance of the various compactions in the queue.  If a StoreFile count exceeds 15 files, only then do we bump via enum change.  We should instead look into more intelligent, granular priority metrics for choosing the next compaction.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.