This is an automated email from the ASF dual-hosted git repository.
DomGarguilo 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 ef1ecd0071 Skip unnecessary sleep when verifying MAC tservers are up
(#6573)
ef1ecd0071 is described below
commit ef1ecd0071611d098a22772786d2565df1633983
Author: Dom G. <[email protected]>
AuthorDate: Thu Oct 1 16:51:11 2026 -0400
Skip unnecessary sleep when verifying MAC tservers are up (#6573)
---
.../org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java
b/minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java
index ba7b954564..cf550433f2 100644
---
a/minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java
+++
b/minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java
@@ -744,7 +744,9 @@ public class MiniAccumuloClusterImpl implements
AccumuloCluster {
log.info("TServer " + tsActualCount + " present in ZooKeeper");
}
}
- Thread.sleep(500);
+ if (tsActualCount < tsExpectedCount) {
+ Thread.sleep(500);
+ }
}
} catch (KeeperException e) {
throw new IllegalStateException("Unable to read TServer information
from zookeeper.", e);