Marton Elek created HDDS-5247:
---------------------------------
Summary: EC: Create ECReplicationConfig on client side based on
input string
Key: HDDS-5247
URL: https://issues.apache.org/jira/browse/HDDS-5247
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Marton Elek
Assignee: Marton Elek
HDDS-5073 improves the existing "ozone sh" client to support ReplicationConfig.
The input string is parsed to ReplicationConfig by the constructors of the
ReplicationConfig classes with string parameters.
After merging this improvement to the EC branch we need to implement the same
constructor for ECReplicationConfig.
There are multiple options here:
1. Create an enum with ALL the possible ECReplicationConfig
2. Use meaningful programmatic validation rules.
During the EC sync we agreed that 2nd option can be more flexible as we may
have very huge configuration matrix with all the EC parameters.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]