You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Shuo Huang (Jira)" <ji...@apache.org> on 2026/10/23 09:14:00 UTC
[jira] [Created] (HDDS-17381) SCM placement validation creates unnecessary temporary objects
Shuo Huang created HDDS-17381:
---------------------------------
Summary: 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
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org