jojochuang commented on code in PR #5980:
URL: https://github.com/apache/ozone/pull/5980#discussion_r1542099955


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueHandler.java:
##########
@@ -854,6 +857,28 @@ ContainerCommandResponseProto handleWriteChunk(
       chunkManager
           .writeChunk(kvContainer, blockID, chunkInfo, data, 
dispatcherContext);
 
+      final boolean isCommit = dispatcherContext.getStage().isCommit();
+      if (isCommit && writeChunk.hasBlock()) {

Review Comment:
   COMBINED_PUTBLOCK_WRITECHUNK_RPC doesn't have the concept of "finalize". 
Once the runtime is updated, the datanode version becomes 
COMBINED_PUTBLOCK_WRITECHUNK_RPC.



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