[ 
https://issues.apache.org/jira/browse/HBASE-27920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang reassigned HBASE-27920:
---------------------------------

    Assignee: guluo

> Skipping compact for this region if the table disable compaction
> ----------------------------------------------------------------
>
>                 Key: HBASE-27920
>                 URL: https://issues.apache.org/jira/browse/HBASE-27920
>             Project: HBase
>          Issue Type: Improvement
>          Components: Compaction
>    Affects Versions: 2.3.7, 2.4.13
>         Environment: HBase 2.3.7
>            Reporter: guluo
>            Assignee: guluo
>            Priority: Major
>
> CompactionChecker.chore() is called periodically for compacting. as follow:
> {code:java}
> //代码占位符
> protected void chore() {
>     for (Region r : this.instance.onlineRegions.values()) {
>         // Skip compaction if region is read only
>         if (r == null || r.isReadOnly()) {
>             continue;
>         }
>         HRegion hr = (HRegion) r;
>         for (HStore s : hr.stores.values()) {
>             // ...
>         }
>     }
> } {code}
> Just skip compact for the region if table disable compaction.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to