You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Uma Maheswara Rao G (Jira)" <ji...@apache.org> on 2022/01/14 21:04:00 UTC

[jira] [Updated] (HDDS-6184) EC: put command should create EC key if bucket is EC

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

Uma Maheswara Rao G updated HDDS-6184:
--------------------------------------
    Summary: EC: put command should create EC key if bucket is EC  (was: EC: put command is not creating EC key if bucket is EC)

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