You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "jojochuang (via GitHub)" <gi...@apache.org> on 2024/10/29 16:55:48 UTC
Re: [PR] HDDS-10685. Short circuit read support in Ozone [ozone]
jojochuang commented on code in PR #7236:
URL: https://github.com/apache/ozone/pull/7236#discussion_r1821213900
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueHandler.java:
##########
@@ -658,16 +675,29 @@ ContainerCommandResponseProto handleGetBlock(
}
ContainerProtos.BlockData responseData;
+ boolean shortCircuitGranted = false;
try {
- BlockID blockID = BlockID.getFromProtobuf(
- request.getGetBlock().getBlockID());
- if (replicaIndexCheckRequired(request)) {
- BlockUtils.verifyReplicaIdx(kvContainer, blockID);
Review Comment:
shouldn't we keep this line to verify replica index?
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org