You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anuj Sharma (Jira)" <ji...@apache.org> on 2025/10/13 05:15:00 UTC
[jira] [Commented] (HBASE-29644) Fix the compactions being triggered on the replica cluster
[ https://issues.apache.org/jira/browse/HBASE-29644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029397#comment-18029397 ]
Anuj Sharma commented on HBASE-29644:
-------------------------------------
We need to block the _preCompactSelection()_ function when the cluster is in read-only mode to avoid user table getting compacted.
> Fix the compactions being triggered on the replica cluster
> ----------------------------------------------------------
>
> Key: HBASE-29644
> URL: https://issues.apache.org/jira/browse/HBASE-29644
> Project: HBase
> Issue Type: Sub-task
> Reporter: Shanmukha Haripriya Kota
> Assignee: Anuj Sharma
> Priority: Critical
>
> Minor compactions are being triggered after opening a new region on the read replica cluster. Investigate and fix the ReadOnlyController.
> {code:java}
> 2025-10-06T22:16:13,552 INFO [RS_OPEN_REGION-regionserver/hbase-docker-2:16020-0] handler.AssignRegionHandler: Opened t1,,1759788781868.60e54b8e10b9e2655bf1b2aca04e9a2f.
> 2025-10-06T22:16:13,556 INFO [regionserver/hbase-docker-2:16020-shortCompactions-0] regionserver.HRegion: Starting compaction of 60e54b8e10b9e2655bf1b2aca04e9a2f/cf1 in t1,,1759788781868.60e54b8e10b9e2655bf1b2aca04e9a2f.
> 2025-10-06T22:16:13,557 INFO [regionserver/hbase-docker-2:16020-shortCompactions-0] regionserver.HStore: Starting compaction of [file:/data-store/hbase/data/default/t1/60e54b8e10b9e2655bf1b2aca04e9a2f/cf1/3dc8900fdcf04883a6f03700cec86b92, file:/data-store/hbase/data/default/t1/60e54b8e10b9e2655bf1b2aca04e9a2f/cf1/d136f2f138964f7f80732492995c55fe, file:/data-store/hbase/data/default/t1/60e54b8e10b9e2655bf1b2aca04e9a2f/cf1/08d326c0525b44bb8d3745baf4932c02, file:/data-store/hbase/data/default/t1/60e54b8e10b9e2655bf1b2aca04e9a2f/cf1/bac69e5664b5456ca787ca31e22e6b2d] into tmpdir=file:/data-store/hbase/data/default/t1/60e54b8e10b9e2655bf1b2aca04e9a2f/.tmp, totalSize=19.4 K
> 2025-10-06T22:16:13,568 INFO [HBase-Metrics2-1] impl.GlobalMetricRegistriesAdapter: Registering RegionServer,sub=TableRequests_Namespace_default_table_t1 Metrics about Tables on a single HBase RegionServer
> 2025-10-06T22:16:13,657 INFO [regionserver/hbase-docker-2:16020-shortCompactions-0] throttle.PressureAwareThroughputController: 60e54b8e10b9e2655bf1b2aca04e9a2f#cf1#compaction#0 average throughput is 0.06 MB/second, slept 0 time(s) and total slept time is 0 ms. 0 active operations remaining, total limit is 50.00 MB/second
> 2025-10-06T22:16:13,771 INFO [regionserver/hbase-docker-2:16020-shortCompactions-0] regionserver.HStore: Completed compaction of 4 (all) file(s) in 60e54b8e10b9e2655bf1b2aca04e9a2f/cf1 of 60e54b8e10b9e2655bf1b2aca04e9a2f into c9189f98667f48a2a8fad2bd9d68187b(size=5.1 K), total size for store is 5.1 K. This selection was in queue for 0sec, and took 0sec to execute.
> 2025-10-06T22:16:13,774 INFO [regionserver/hbase-docker-2:16020-shortCompactions-0] regionserver.CompactSplit: Completed compaction region=t1,,1759788781868.60e54b8e10b9e2655bf1b2aca04e9a2f., storeName=60e54b8e10b9e2655bf1b2aca04e9a2f/cf1, priority=12, startTime=1759788973546; duration=0sec
> 2025-10-06T22:16:45,074 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=786.40 MB, usedSize=590.80 KB, freeSize=785.82 MB, max=786.40 MB, blockCount=0, accesses=4, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=29, evicted=0, evictedPerRun=0.0 {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)