bsglz commented on a change in pull request #3419:
URL: https://github.com/apache/hbase/pull/3419#discussion_r659422655
##########
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?
Good point, exclude that cases seems better, will fix later, thanks.
--
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]