bbeaudreault commented on code in PR #5671:
URL: https://github.com/apache/hbase/pull/5671#discussion_r1484706528
##########
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncRequestFutureImpl.java:
##########
@@ -842,6 +849,18 @@ private void resubmit(ServerName oldServer, List<Action>
toReplay, int numAttemp
backOffTime, true, null, -1, -1));
}
+ long remainingTime = getRemainingTime();
+ // 1 is a special value meaning exceeded and 0 means no timeout
+ if (remainingTime > 1 && backOffTime > remainingTime) {
Review Comment:
I added this handling here as well. We have similar logic in
RpcRetryingCallerImpl. I think it's important to add when adding throttling
wait interval, because depending on the level of quota saturation the wait time
could easily be higher than operation timeout.
--
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]