errose28 commented on code in PR #8402:
URL: https://github.com/apache/ozone/pull/8402#discussion_r2080407524


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/checksum/ContainerChecksumTreeManager.java:
##########
@@ -354,8 +375,6 @@ private void write(ContainerData data, 
ContainerProtos.ContainerChecksumInfo che
       throw new IOException("Error occurred when writing container merkle tree 
for containerID "
           + data.getContainerID(), ex);
     }
-    // Set in-memory data checksum.
-    
data.setDataChecksum(checksumInfo.getContainerMerkleTree().getDataChecksum());

Review Comment:
   I removed it from here because `markBlocksAsDeleted` does not affect the 
merkle tree and should not change the data checksum.



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