Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6517 Snapshot support for Ozone
  3. HDDS-8015

[Snapshot] Remove RequestValidations#createValidationRequest

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None

    Description

      RequestValidations#createValidationRequest can be removed which was done for CreateSnapshot to pass the snapshotId to followers.

      The same is traditionally done in preExecute by updating the OMRequest:

      https://github.com/apache/ozone/blob/4c8b62fb14beb80f2b423f9f0df973ff7af50954/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/volume/OMVolumeCreateRequest.java#L81-L88

      cc hemantk

      Attachments

        Issue Links

          Activity

            People

              hemantk Hemant Kumar
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: