aswinshakil commented on code in PR #6864:
URL: https://github.com/apache/ozone/pull/6864#discussion_r1689470179
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/checksum/ContainerChecksumTreeManager.java:
##########
@@ -157,6 +173,14 @@ private void write(KeyValueContainerData data,
ContainerProtos.ContainerChecksum
}
}
+ public File getContainerChecksumFile(KeyValueContainerData data) {
+ return new File(data.getMetadataPath(), data.getContainerID() + ".tree");
+ }
+
+ public ContainerMerkleTreeMetrics getMetrics() {
Review Comment:
Right now we are using it for just test. In future we may use it so kept it
as it is, but I'll add `@VisibleForTesting`. We can remove it when needed.
--
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]