hemantk-12 commented on code in PR #7490:
URL: https://github.com/apache/ozone/pull/7490#discussion_r2040023762
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueContainerCheck.java:
##########
@@ -465,26 +476,46 @@ private static List<ContainerScanError>
verifyChecksum(BlockData block,
StringUtils.bytes2Hex(expected.asReadOnlyByteBuffer()),
StringUtils.bytes2Hex(actual.asReadOnlyByteBuffer()),
block.getBlockID());
+ chunkHealthy = false;
Review Comment:
We can break the loop here because smallest unit is chunk.
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ozoneimpl/ContainerScanError.java:
##########
@@ -32,9 +32,10 @@ public enum FailureType {
MISSING_METADATA_DIR,
MISSING_CONTAINER_FILE,
MISSING_CHUNKS_DIR,
- MISSING_CHUNK_FILE,
+ MISSING_DATA_FILE,
Review Comment:
qq: Is this for the cases when `*.block` file is missing?
--
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]