kerneltime commented on a change in pull request #2542:
URL: https://github.com/apache/ozone/pull/2542#discussion_r690801296
##########
File path:
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueHandler.java
##########
@@ -664,6 +677,18 @@ ContainerCommandResponseProto handleDeleteChunk(
return getSuccessResponse(request);
}
+ private void validateChunkData(ChunkBuffer data, ChunkInfo info)
Review comment:
There can be many kinds of validations. This makes the code more
readable in terms of what will be done.
```suggestion
private void validateChunkChecksumData(ChunkBuffer data, ChunkInfo info)
```
--
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]