Stephen O'Donnell created HDDS-6420:
---------------------------------------

             Summary: Ratis and Standalone ReplicationConfig should return a 
contant when possible
                 Key: HDDS-6420
                 URL: https://issues.apache.org/jira/browse/HDDS-6420
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Stephen O'Donnell
            Assignee: Stephen O'Donnell


There is generally a RatisReplicationConfig object stored in each ContainerInfo 
in SCM, and in each Pipeline too. Each object is basically identical - it only 
contains the factor, or ONE or THREE. We can save some memory in SCM if we just 
return a static value each time someone requests a 
Standalone/RatisReplicationConfig object.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to