You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2021/03/26 16:46:15 UTC

[lucene] 06/07: @1442 Raise timeout to be more reasonable.

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

janhoy pushed a commit to tag history/branches/lucene-solr/reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene.git

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");
           }