You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "sumitagrawl (via GitHub)" <gi...@apache.org> on 2023/05/30 06:34:59 UTC

[GitHub] [ratis] sumitagrawl commented on a diff in pull request #883: RATIS-1836. Frequent retry by leader on failure path for appendEntry

sumitagrawl commented on code in PR #883:
URL: https://github.com/apache/ratis/pull/883#discussion_r1209766477


##########
ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java:
##########
@@ -101,6 +102,7 @@ public GrpcLogAppender(RaftServer.Division server, LeaderState leaderState, Foll
 
     lock = new AutoCloseableReadWriteLock(this);
     caller = LOG.isTraceEnabled()? JavaUtils.getCallerStackTraceElement(): null;
+    errorWaitStrategy = new ErrorWaitStrategy("5,1000,10,5000");

Review Comment:
   Updated...



-- 
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: issues-unsubscribe@ratis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org