[ 
https://issues.apache.org/jira/browse/HDDS-6420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-6420:
---------------------------------
    Labels: pull-request-available  (was: )

> Ratis and Standalone ReplicationConfig should return a static instance
> ----------------------------------------------------------------------
>
>                 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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