You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/04/23 07:56:00 UTC
[jira] [Resolved] (HBASE-25754) StripeCompactionPolicy should
support compacting cold regions
[ https://issues.apache.org/jira/browse/HBASE-25754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-25754.
-------------------------------
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.3+.
Thanks [~Xiaolin Ha] for contributing.
> 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: 3.0.0-alpha-1, 2.0.0, 1.4.13
> Reporter: Xiaolin Ha
> Assignee: Xiaolin Ha
> Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.5.0, 2.4.3, 2.3.6
>
>
> 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)