You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2023/02/22 20:34:00 UTC

[jira] [Created] (HDDS-8015) [Snapshot] Remove RequestValidations#createValidationRequest

Siyao Meng created HDDS-8015:
--------------------------------

             Summary: [Snapshot] Remove RequestValidations#createValidationRequest
                 Key: HDDS-8015
                 URL: https://issues.apache.org/jira/browse/HDDS-8015
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Siyao Meng


[{{RequestValidations#createValidationRequest}}|https://github.com/apache/ozone/blob/1ee083178df192d48b16c04b663384f7c336c374/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/validation/RequestValidations.java#L117-L136] 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 [~hemantkumar.dindi]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org