umamaheswararao commented on code in PR #3262:
URL: https://github.com/apache/ozone/pull/3262#discussion_r850792191


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMAllocateBlockRequest.java:
##########
@@ -267,4 +274,23 @@ public static OMAllocateBlockRequest getInstance(KeyArgs 
keyArgs,
     }
     return new OMAllocateBlockRequest(omRequest, bucketLayout);
   }
+
+  @RequestFeatureValidator(
+      conditions = ValidationCondition.CLUSTER_NEEDS_FINALIZATION,
+      processingPhase = RequestProcessingPhase.PRE_PROCESS,
+      requestType = Type.AllocateBlock
+  )

Review Comment:
   I don't want to blocked on this. :-)
   Let's refine later if there is a possible to simplify. I am ok with that, 
thanks



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to