ChenSammi commented on code in PR #8566:
URL: https://github.com/apache/ozone/pull/8566#discussion_r2199486530


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/protocol/ScmBlockLocationProtocolServerSideTranslatorPB.java:
##########
@@ -229,8 +229,11 @@ public DeleteScmKeyBlocksResponseProto deleteScmKeyBlocks(
     DeleteScmKeyBlocksResponseProto.Builder resp =
         DeleteScmKeyBlocksResponseProto.newBuilder();
 
-    List<BlockGroup> infoList = req.getKeyBlocksList().stream()
-        .map(BlockGroup::getFromProto).collect(Collectors.toList());
+    List<BlockGroup> infoList;

Review Comment:
   Let's  add a DATA_DISTRIBUTION feature finalize check here, to reject the 
request with new data content.  



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