Apache Lucene open-source search software
boost the get leader timeout a bit
Mark Robert Millera6eb226481c5
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.javaindex 28c478e6292..ee17f8ab270 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@@ -497,7 +497,7 @@ public class ZkStateReader {* Get shard leader properties, with retry if none exist.*/public Replica getLeaderRetry(String collection, String shard) throws InterruptedException {- return getLeaderRetry(collection, shard, 2000);+ return getLeaderRetry(collection, shard, 4000);}/**