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


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueHandler.java:
##########
@@ -645,6 +646,31 @@ public void createContainerMerkleTree(Container container) 
{
     }
   }
 
+  /**
+   * Write the merkle tree for this container using the existing checksum 
metadata only. The data is not read or
+   * validated by this method, so it is expected to run quickly.
+   *
+   * If a checksum file already exists on the disk, this method will do 
nothing. The existing file would have either
+   * been made from the metadata or data itself so there is no need to 
recreate it from the metadata.
+   *
+   * TODO: This method should be changed to private after HDDS-10374 is merged.
+   *
+   * @param container The container which will have a tree generated.
+   */
+  public void createContainerMerkleTreeFromMetadata(Container container) {

Review Comment:
   This was also an artifact of renaming this method in the first PR and then 
moving the changes to a new PR. I removed this method and had its callers use 
the renamed version.



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