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

Uma Maheswara Rao G updated HDDS-6294:
--------------------------------------
    Fix Version/s: EC-Branch
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Thanks a lot [~ckj] for the contribution. I have just merged this to branch !

> EC: Make cluster-wide EC configuration take effect.
> ---------------------------------------------------
>
>                 Key: HDDS-6294
>                 URL: https://issues.apache.org/jira/browse/HDDS-6294
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Mark Gui
>            Assignee: Kaijie Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: EC-Branch
>
>
> By reading through the doc ErasureCoding.md, I found 2 configs for 
> cluster-level EC:
> {code:java}
> <property>
>   <name>ozone.server.default.replication.type</name>
>   <value>EC</value>
> </property>
> <property>
>   <name>ozone.server.default.replication</name>
>   <value>RS-6-3-1024k</value>
> </property> {code}
> But by referring to the latest code of HDDS-3816-ec, the enums defined are 
> never referenced
> {code:java}
> public static final String OZONE_SERVER_DEFAULT_REPLICATION_KEY =
> "ozone.server.default.replication";
> public static final String OZONE_SERVER_DEFAULT_REPLICATION_DEFAULT =
> ReplicationFactor.THREE.toString();
> public static final String OZONE_SERVER_DEFAULT_REPLICATION_TYPE_KEY =
> "ozone.server.default.replication.type";
> public static final String OZONE_SERVER_DEFAULT_REPLICATION_TYPE_DEFAULT =
> ReplicationType.RATIS.toString(); {code}
> IMO, the 2 configs should be checked in 
> OzoneConfigUtil#resolveReplicationConfigPreference() as a fallback if no 
> bucket-level policy is specified,
> orĀ  we could make the change in OzoneManager#getDefaultReplicationConfig() 
> which now refer to "ozone.replication" and "ozone.replication.type".



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to