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

Changgeng Li commented on HBASE-13560:
--------------------------------------

I also have to change the below logic to allow a small job be taken by large 
thread pool.

{code}

-        if (this.parent != pool) {
+
+        // Long compaction pool can process small job
+        // Short compaction pool should not process large job
+        if (this.parent == shortCompactions && pool == longCompactions) {

{code}

> Large compaction queue should steal from small compaction queue when idle
> -------------------------------------------------------------------------
>
>                 Key: HBASE-13560
>                 URL: https://issues.apache.org/jira/browse/HBASE-13560
>             Project: HBase
>          Issue Type: Bug
>          Components: Compaction
>    Affects Versions: 2.0.0
>            Reporter: Elliott Clark
>            Assignee: Changgeng Li
>         Attachments: queuestealwork-v1.patch, queuestealwork-v4.patch, 
> queuestealwork-v5.patch, queuestealwork-v6.patch, queuestealwork-v7.patch
>
>
> If you tune compaction threads so that a server is never over commited when 
> large and small compaction threads are busy then it should be possible to 
> have the large compactions steal work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to