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


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueHandler.java:
##########
@@ -1394,11 +1368,97 @@ public void markContainerForClose(Container container)
     } finally {
       container.writeUnlock();
     }
-    createContainerMerkleTreeFromMetadata(container);
+    updateContainerChecksumFromMetadataIfNeeded(container);
     ContainerLogger.logClosing(container.getContainerData());
     sendICR(container);
   }
 
+  @Override
+  public void updateContainerChecksum(Container container, 
ContainerMerkleTreeWriter treeWriter)

Review Comment:
   I'm adding this to the javadoc in the interface. None of the other `Handler` 
methods that send an ICR have `withICR` or similar in their name. It seems this 
is supposed to be more of an internal detail.



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