You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "devmadhuu (via GitHub)" <gi...@apache.org> on 2023/05/31 16:29:32 UTC
[GitHub] [ozone] devmadhuu commented on a diff in pull request #4805: HDDS-8734. Make registering cache metrics for OM DB tables an Idempotent operation.
devmadhuu commented on code in PR #4805:
URL: https://github.com/apache/ozone/pull/4805#discussion_r1211994524
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java:
##########
@@ -294,7 +291,7 @@ public ReentrantReadWriteLock getTableLock(String tableName) {
private final long omEpoch;
private Map<String, Table> tableMap = new HashMap<>();
- private List<TableCacheMetrics> tableCacheMetrics = new LinkedList<>();
+ private Map<String, TableCacheMetrics> tableCacheMetricsMap = new HashMap<>();
Review Comment:
Thanks @adoroszlai for review. I have done the change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org