You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "guluo (Jira)" <ji...@apache.org> on 2024/01/25 14:39:00 UTC
[jira] [Created] (HBASE-28332) Type conversion is no need in method CompactionChecker.chore()
guluo created HBASE-28332:
-----------------------------
Summary: Type conversion is no need in method CompactionChecker.chore()
Key: HBASE-28332
URL: https://issues.apache.org/jira/browse/HBASE-28332
Project: HBase
Issue Type: Improvement
Components: Compaction
Reporter: guluo
In method CompactionChecker.chore(), we iterate the map named onlineRegions ,which the type of value is HRegion, So we do not need to type conversion from Region to HRegion.
{code:java}
private final Map<String, HRegion> onlineRegions = new ConcurrentHashMap<>(); {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)