[
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: [email protected]
For additional commands, e-mail: [email protected]