[
https://issues.apache.org/jira/browse/HDDS-17381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shuo Huang reassigned HDDS-17381:
---------------------------------
Assignee: Shuo Huang
> SCM placement validation creates unnecessary temporary objects
> --------------------------------------------------------------
>
> Key: HDDS-17381
> URL: https://issues.apache.org/jira/browse/HDDS-17381
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Shuo Huang
> Assignee: Shuo Huang
> Priority: Major
>
> SCMCommonPlacementPolicy#validateContainerPlacement uses groupingBy and
> reducing to count replicas on each rack.
>
> Replication Manager performs this check repeatedly while checking container
> health.
> The replica list is usually small, but the stream collectors create temporary
> objects on every call, adding avoidable allocation and GC overhead in SCM.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]