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


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/BlockManagerImpl.java:
##########
@@ -144,6 +153,12 @@ public static long persistPutBlock(KeyValueContainer 
container,
       // update the blockData as well as BlockCommitSequenceId here
       try (BatchOperation batch = db.getStore().getBatchHandler()
           .initBatchOperation()) {
+        //Preconditions.checkState(!data.getChunks().isEmpty(),

Review Comment:
   Shall we remove this? 



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