jzgithub1 commented on a change in pull request #1125: Fixes #1119 - Improve
Retry code
URL: https://github.com/apache/accumulo/pull/1125#discussion_r277869548
##########
File path: core/src/main/java/org/apache/accumulo/fate/util/Retry.java
##########
@@ -148,6 +158,7 @@ public long retriesCompleted() {
public void waitForNextAttempt() throws InterruptedException {
log.debug("Sleeping for {}ms before retrying operation", currentWait);
sleep(currentWait);
+ waitIncrement *= waitFactor;
Review comment:
Thank you for the fast review. I think the jitter aspect is important and
I will implement it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services