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/12 03:07:09 UTC

[lucene-solr] branch reference_impl updated: @1461 Take publish down out for now for this tests and raise the lazy cache a bit.

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 a6eb63b  @1461 Take publish down out for now for this tests and raise the lazy cache a bit.
a6eb63b is described below

commit a6eb63b372c52b8126ccdda2df9122f4f051d194
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Thu Mar 11 21:06:40 2021 -0600

    @1461 Take publish down out for now for this tests and raise the lazy cache a bit.
    
    Took 6 minutes
---
 solr/core/src/java/org/apache/solr/cloud/ZkController.java     | 10 +++++-----
 .../src/java/org/apache/solr/common/cloud/ZkStateReader.java   |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/solr/core/src/java/org/apache/solr/cloud/ZkController.java b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
index 8d46016..a6b89cb 100644
--- a/solr/core/src/java/org/apache/solr/cloud/ZkController.java
+++ b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
@@ -153,11 +153,11 @@ public class ZkController implements Closeable, Runnable {
 
   @Override
   public void run() {
-    try {
-      publishNodeAs(getNodeName(), OverseerAction.DOWNNODE);
-    } catch (Exception e) {
-      log.warn("Problem publish node as DOWN", e);
-    }
+//    try {
+//      publishNodeAs(getNodeName(), OverseerAction.DOWNNODE);
+//    } catch (Exception e) {
+//      log.warn("Problem publish node as DOWN", e);
+//    }
     disconnect(true);
     log.info("Continuing to Solr shutdown");
   }
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 1454dcb..06884e0 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
@@ -86,7 +86,7 @@ import static java.util.Collections.emptySortedSet;
 import static org.apache.solr.common.util.Utils.fromJSON;
 
 public class ZkStateReader implements SolrCloseable, Replica.NodeNameToBaseUrl {
-  public static final int STATE_UPDATE_DELAY = Integer.getInteger("solr.OverseerStateUpdateDelay", 500);  // delay between cloud state updates
+  public static final int STATE_UPDATE_DELAY = Integer.getInteger("solr.OverseerStateUpdateDelay", 2000);  // delay between cloud state updates
   public static final String STRUCTURE_CHANGE_NOTIFIER = "_scn";
   public static final String STATE_UPDATES = "_statupdates";