You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/04/23 20:59:50 UTC

[GitHub] [accumulo] jzgithub1 commented on a change in pull request #1125: Fixes #1119 - Improve Retry code

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:
users@infra.apache.org


With regards,
Apache Git Services