Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In the current form, ReplicationConfigValidator is responsible to validate replication config that comes from Ozone configuration. However the individual ReplicationConfig implementations have a String based constructor, that also parses a String representation.
In order to avoid differences in parsing and validation, it would be good to move the parsing logic to ReplicationConfigValidator, and also use that during validation.
Attachments
Issue Links
- fixes
-
HDDS-5988 NPE during Filesystem.getDefaultReplication
- Resolved
- is depended upon by
-
HDDS-5998 EC: Enhance EC replication config parsing from string and enable validation of it
- Open
- is related to
-
HDDS-6048 Validate ReplicationConfig against ozone.replication.allowed-configs on the server side.
- Open
- links to