cchenax commented on a change in pull request #3212:
URL: https://github.com/apache/ozone/pull/3212#discussion_r831755097
##########
File path:
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueHandler.java
##########
@@ -546,6 +547,43 @@ ContainerCommandResponseProto
handleGetCommittedBlockLength(
return getBlockLengthResponse(request, blockLength);
}
+ /**
+ * Handle List Block operation. Calls BlockManager to process the request.
+ */
+ ContainerCommandResponseProto handleListBlock(
+ ContainerCommandRequestProto request, KeyValueContainer kvContainer) {
+
+ if (!request.hasListBlock()) {
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("Malformed list block request. trace ID: {}",
+ request.getTraceID());
+ }
+ return malformedRequest(request);
+ }
+
+ List<BlockData> responseData;
Review comment:
ok
--
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]