You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2021/03/10 03:18:53 UTC

[lucene-solr] branch reference_impl updated: @1442 Raise timeout to be more reasonable.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/reference_impl by this push:
     new 2113132  @1442 Raise timeout to be more reasonable.
2113132 is described below

commit 211313290aad6d1d6fb715d9f315d8586b53e0ac
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Tue Mar 9 21:18:04 2021 -0600

    @1442 Raise timeout to be more reasonable.
    
    Took 13 minutes
---
 solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java b/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java
index ed52df4..9ace841 100644
--- a/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java
+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java
@@ -503,7 +503,7 @@ public class ZkStateReader implements SolrCloseable, Replica.NodeNameToBaseUrl {
       if (stat == null) {
         if (log.isDebugEnabled()) log.debug("Collections znode not found, waiting on latch");
         try {
-          boolean success = latch.await(1000, TimeUnit.MILLISECONDS);
+          boolean success = latch.await(15000, TimeUnit.MILLISECONDS);
           if (!success) {
             throw new SolrException(ErrorCode.SERVER_ERROR, "cluster not found/not ready");
           }