You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "peterxcli (via GitHub)" <gi...@apache.org> on 2025/03/17 10:09:12 UTC

Re: [PR] HDDS-10338. Implement a Client Datanode API to stream a block [ozone]

peterxcli commented on code in PR #6613:
URL: https://github.com/apache/ozone/pull/6613#discussion_r1998355206


##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientGrpc.java:
##########
@@ -615,6 +622,69 @@ private void decreasePendingMetricsAndReleaseSemaphore() {
     return new XceiverClientReply(replyFuture);
   }
 
+  public XceiverClientReply sendCommandReadBlock(

Review Comment:
   This function seems quite similar as `sendCommandAsync(ContainerCommandRequestProto request, DatanodeDetails dn) throws IOException, InterruptedException` 
   How about create a `StreamObserverFactory` for them?
   



-- 
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