You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "István Fajth (Jira)" <ji...@apache.org> on 2021/11/16 11:35:00 UTC

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

István Fajth created HDDS-5998:
----------------------------------

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


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