bsglz commented on a change in pull request #3419:
URL: https://github.com/apache/hbase/pull/3419#discussion_r659424663



##########
File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncRequestFutureImpl.java
##########
@@ -1140,7 +1140,8 @@ private String buildDetailedErrorMsg(String string, int 
index) {
   @Override
   public void waitUntilDone() throws InterruptedIOException {
     try {
-      waitUntilDone(Long.MAX_VALUE);
+      long cutoff = (EnvironmentEdgeManager.currentTime() + 
this.operationTimeout) * 1000L;

Review comment:
       The type of operationTimeout is int, so seems no need to consider 
Long.MAX_VALUE case.




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


Reply via email to