Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3816 Erasure Coding
  3. HDDS-5997

Centralize string based replication config validation via ReplicationConfigValidator

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • 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

          Activity

            People

              pifta István Fajth
              pifta István Fajth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: