You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xiaolin Ha (Jira)" <ji...@apache.org> on 2021/04/09 13:19:00 UTC

[jira] [Created] (HBASE-25754) StripeCompactionPolicy should support compacting cold regions

Xiaolin Ha created HBASE-25754:
----------------------------------

             Summary: StripeCompactionPolicy should support compacting cold regions
                 Key: HBASE-25754
                 URL: https://issues.apache.org/jira/browse/HBASE-25754
             Project: HBase
          Issue Type: Improvement
          Components: Compaction
    Affects Versions: 1.4.13, 2.0.0, 3.0.0-alpha-1
            Reporter: Xiaolin Ha
            Assignee: Xiaolin Ha


Cold regions cannot perform compactions by flushing memstores, while CompactionChecker can period check need compaction regions.

But some cold regions using stripe store engine may not be checked to perform compaction by`needCompaction()` or trigger automatic major compactions, because StripeCompactionPolicy#shouldPerformMajorCompaction() always returns false. 

StripeCompactionPolicy never performs automatic major compactions now.

But cold regions' outdated data need to be cleaned.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)