You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2022/03/04 17:41:00 UTC

[jira] [Updated] (HDDS-6420) Ratis and Standalone ReplicationConfig should return a static instance

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

Stephen O'Donnell updated HDDS-6420:
------------------------------------
    Summary: Ratis and Standalone ReplicationConfig should return a static instance  (was: Ratis and Standalone ReplicationConfig should return a contant when possible)

> 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
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org