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


##########
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:
   In the original code, poll() initialize the startTime in the beginning.  The 
original code does not have the bug described.  No?



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