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



##########
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:
       What if operationTimeout here is negative(which means no timeout), or 
Long.MAX_VALUE?




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