[
https://issues.apache.org/jira/browse/HBASE-29119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ZhongYou Li updated HBASE-29119:
--------------------------------
Description:
When major compaction is disabled and major compaction is not manually
triggered, the LastMajorCompaction of some regions in the HBase WebUI is not 0,
indicating that major compaction has been done recently. After checking the
code, it is found that when compaction is triggered, if all hfiles participate
in the compaction, the major compaction in the metadata is automatically marked
as false. This is inconsistent with the actual major compaction.
!image-2025-02-10-10-23-28-890.png|width=1074,height=276!
was:When major compaction is disabled and major compaction is not manually
triggered, the LastMajorCompaction of some regions in the HBase WebUI is not 0,
indicating that major compaction has been done recently. After checking the
code, it is found that when compaction is triggered, if all hfiles participate
in the compaction, the major compaction in the metadata is automatically marked
as false. This is inconsistent with the actual major compaction.
> Major compaction is disabled, but the webui shows that major compaction has
> been triggered
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-29119
> URL: https://issues.apache.org/jira/browse/HBASE-29119
> Project: HBase
> Issue Type: Bug
> Reporter: ZhongYou Li
> Priority: Major
> Attachments: image-2025-02-10-10-23-28-890.png
>
>
> When major compaction is disabled and major compaction is not manually
> triggered, the LastMajorCompaction of some regions in the HBase WebUI is not
> 0, indicating that major compaction has been done recently. After checking
> the code, it is found that when compaction is triggered, if all hfiles
> participate in the compaction, the major compaction in the metadata is
> automatically marked as false. This is inconsistent with the actual major
> compaction.
>
> !image-2025-02-10-10-23-28-890.png|width=1074,height=276!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)