xichen01 commented on code in PR #11223:
URL: https://github.com/apache/ozone/pull/11223#discussion_r4116049630


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/HddsDispatcher.java:
##########
@@ -556,6 +562,15 @@ private void validateToken(
     );
   }
 
+  private static void validateBlockID(ContainerCommandRequestProto msg)
+      throws StorageContainerException {
+    try {
+      HddsUtils.getBlockID(msg);

Review Comment:
   Add `StreamInit` and `StreamInitWithPutBlock` to `getBlockID`, so it will 
check BlockID too.



-- 
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