You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2023/07/06 19:43:00 UTC

[jira] [Commented] (HBASE-27920) Skipping compact for this region if the table disable compaction

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

Hudson commented on HBASE-27920:
--------------------------------

Results for branch master
	[build #869 on builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/869/]: (x) *{color:red}-1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/869/General_20Nightly_20Build_20Report/]




(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/869/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/869/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> 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
>             Fix For: 2.6.0, 2.4.18, 2.5.6, 3.0.0-beta-1
>
>
> 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)