Uma Maheswara Rao G created HDDS-6184:
-----------------------------------------
Summary: EC: put command is not creating 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
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]