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/04/11 18:14:00 UTC

[jira] [Updated] (HDDS-5998) EC: Enhance EC replication config parsing from string and enable validation of it

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

Uma Maheswara Rao G updated HDDS-5998:
--------------------------------------
    Parent Issue: HDDS-6462  (was: HDDS-3816)

> EC: Enhance EC replication config parsing from string and enable validation of it
> ---------------------------------------------------------------------------------
>
>                 Key: HDDS-5998
>                 URL: https://issues.apache.org/jira/browse/HDDS-5998
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: István Fajth
>            Assignee: István Fajth
>            Priority: Major
>
> Currently ReplicationConfigValidator does not validate EC related configuration properly, as ECReplicationConfig is missing the toString method required by the validator.
> Also at the moment ECReplicationConfig's String based constructor does enable weird configs like 2 data and 6 parity blocks with a chunk size of 177.
> I think we should be and can be more prescriptive, and allow only the supported configs in EcReplicationConfig, with the supported data-parity pairs, and chunk size divisible by 1KiB, and maximize it at 1024KiB, which in a 10-4 setup already means 14MB buffered data on the client side. These might be adjusted at will, or later if we think it is better to have bigger sizes, but I think initially these are good boundaries.



--
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