avijayanhwx commented on a change in pull request #2522:
URL: https://github.com/apache/ozone/pull/2522#discussion_r686505043
##########
File path:
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/helpers/KeyValueContainerUtil.java
##########
@@ -169,7 +169,7 @@ public static void
parseKVContainerData(KeyValueContainerData kvContainerData,
File metadataPath = new File(kvContainerData.getMetadataPath());
// Verify Checksum
- ContainerUtils.verifyChecksum(kvContainerData);
+ ContainerUtils.verifyChecksum(kvContainerData, config);
Review comment:
Any reason why moved the config check into the method? If we keep it
here, it is more readable.
`if (enabled) {
verifyChecksum
}`
What do you think?
--
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]