This is an automated email from the ASF dual-hosted git repository. kturner pushed a commit to branch 2.1 in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.1 by this push: new f216af63a9 increases max wait time for ZK update retry (#3723) f216af63a9 is described below commit f216af63a984e36eb42d21766a5b73df80179e0e Author: Keith Turner <ktur...@apache.org> AuthorDate: Thu Aug 24 17:52:40 2023 -0400 increases max wait time for ZK update retry (#3723) --- .../main/java/org/apache/accumulo/core/fate/zookeeper/ZooReader.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ZooReader.java b/core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ZooReader.java index 26fb6efa83..dbd80b210b 100644 --- a/core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ZooReader.java +++ b/core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ZooReader.java @@ -21,7 +21,6 @@ package org.apache.accumulo.core.fate.zookeeper; import static java.util.Objects.requireNonNull; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.MINUTES; -import static java.util.concurrent.TimeUnit.SECONDS; import java.util.List; import java.util.concurrent.CountDownLatch; @@ -44,7 +43,7 @@ public class ZooReader { protected static final RetryFactory RETRY_FACTORY = Retry.builder().maxRetries(10).retryAfter(250, MILLISECONDS).incrementBy(250, MILLISECONDS) - .maxWait(5, SECONDS).backOffFactor(1.5).logInterval(3, MINUTES).createFactory(); + .maxWait(2, MINUTES).backOffFactor(1.5).logInterval(3, MINUTES).createFactory(); protected final String keepers; protected final int timeout;