[
https://issues.apache.org/jira/browse/HDDS-6184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen O'Donnell updated HDDS-6184:
------------------------------------
Fix Version/s: EC-Branch
Resolution: Fixed
Status: Resolved (was: Patch Available)
> EC: put command should create EC key if bucket is EC
> ----------------------------------------------------
>
> Key: HDDS-6184
> URL: https://issues.apache.org/jira/browse/HDDS-6184
> Project: Apache Ozone
> Issue Type: Sub-task
> Affects Versions: EC-Branch
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Priority: Major
> Labels: pull-request-available
> Fix For: EC-Branch
>
>
> When bucket is EC and put command not passing ec configs should create the EC
> keys. But that is not working now. Because put command code is always passing
> the legacy default configs, that is RATIS/THREE if put command does not pass
> any.
>
> in PutKeyHandler#execute:
> {code:java}
> ReplicationConfig replicationConfig =
> ReplicationConfig.parse(replicationType, replication, getConf());{code}
>
> parse method is bringing the default replication if they are null.
> When put command passing the ec replication confg, it is working as expected.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]