ss77892 commented on code in PR #10522:
URL: https://github.com/apache/ozone/pull/10522#discussion_r3478207180


##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/StreamBlockInputStream.java:
##########
@@ -447,6 +461,7 @@ private ByteBuffer read(int length, boolean preRead) throws 
IOException {
         return responseQueue.isEmpty() ? null : readFromQueue();
       }
 
+      refreshReadDeadline();

Review Comment:
   We might spend some time waiting for gRPC flow control's isReady(), and then 
spend time waiting for the read response. Together, they might exceed the read 
timeout, resulting in a PT10S timeout exception for the client. 



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

Reply via email to